diff options
author | Hind-M <hind.montassif@gmail.com> | 2022-03-04 14:05:15 +0100 |
---|---|---|
committer | Hind-M <hind.montassif@gmail.com> | 2022-03-04 14:05:15 +0100 |
commit | af74316148165cb01c9f28b8b05e1b9764e4579a (patch) | |
tree | 8af0e51f0a8558d6ff9d0bc1d3f50304f8ace9c9 /src/Cech_complex/benchmark/cech_complex_benchmark.cpp | |
parent | f55f93ba971768441de005fde59802229a1e008f (diff) |
Use Euclidean_distance instead of CGAL dependant Sphere_circumradius for Rips in Cech benchmark
Diffstat (limited to 'src/Cech_complex/benchmark/cech_complex_benchmark.cpp')
-rw-r--r-- | src/Cech_complex/benchmark/cech_complex_benchmark.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Cech_complex/benchmark/cech_complex_benchmark.cpp b/src/Cech_complex/benchmark/cech_complex_benchmark.cpp index b283e1a8..bf013a81 100644 --- a/src/Cech_complex/benchmark/cech_complex_benchmark.cpp +++ b/src/Cech_complex/benchmark/cech_complex_benchmark.cpp @@ -107,8 +107,7 @@ int main(int argc, char* argv[]) { std::clog << itr->path().stem() << ";"; std::clog << radius << ";"; Gudhi::Clock rips_clock("Rips computation"); - Rips_complex rips_complex_from_points(off_reader_cgal.get_point_cloud(), radius, - Gudhi::cech_complex::Sphere_circumradius<Kernel>()); + Rips_complex rips_complex_from_points(off_reader.get_point_cloud(), radius, Gudhi::Euclidean_distance()); Simplex_tree rips_stree; rips_complex_from_points.create_complex(rips_stree, p0.size() - 1); // ------------------------------------------ |