diff options
author | fgodi <fgodi@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2018-03-27 18:46:18 +0000 |
---|---|---|
committer | fgodi <fgodi@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2018-03-27 18:46:18 +0000 |
commit | 7f3ea79d26c78c8b2107a6a85feba933bd5512ac (patch) | |
tree | adef85730a69005fa532165877accf9c57bee7ae /src/Witness_complex/example/example_strong_witness_complex_fvecs.cpp | |
parent | 6485e6957ef3c9310f618db6caaf2858cc56db66 (diff) |
sb_wrapper working
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/toplex_map@3308 636b058d-ea47-450e-bf9e-a15bfbe3eedb
Former-commit-id: c7400a11583b8b67483974664e410f4c77232fb1
Diffstat (limited to 'src/Witness_complex/example/example_strong_witness_complex_fvecs.cpp')
-rw-r--r-- | src/Witness_complex/example/example_strong_witness_complex_fvecs.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/Witness_complex/example/example_strong_witness_complex_fvecs.cpp b/src/Witness_complex/example/example_strong_witness_complex_fvecs.cpp index a8e16fb0..9f5b32c4 100644 --- a/src/Witness_complex/example/example_strong_witness_complex_fvecs.cpp +++ b/src/Witness_complex/example/example_strong_witness_complex_fvecs.cpp @@ -22,6 +22,7 @@ #include <gudhi/Simplex_tree.h> #include <gudhi/Fake_simplex_tree.h> +#include <gudhi/Sb_wrapper.h> #include <gudhi/Euclidean_strong_witness_complex.h> #include <gudhi/pick_n_random_points.h> #include <gudhi/Points_fvecs_reader.h> @@ -51,7 +52,8 @@ int main(int argc, char * const argv[]) { double alpha2 = atof(argv[3]); clock_t start, end; //Gudhi::Simplex_tree<> simplex_tree; - Gudhi::Fake_simplex_tree simplex_tree; + //Gudhi::Fake_simplex_tree simplex_tree; + Gudhi::Sb_wrapper simplex_tree; // Read the point file Point_vector point_vector, landmarks; @@ -73,7 +75,7 @@ int main(int argc, char * const argv[]) { end = clock(); std::cout << "Strong witness complex took " << static_cast<double>(end - start) / CLOCKS_PER_SEC << " s. \n"; - std::cout << "Number of simplices is: " << simplex_tree.num_simplices() << std::endl; - std::cout << "Max dimension is : " << simplex_tree.dimension() << std::endl; +// std::cout << "Number of simplices is: " << simplex_tree.num_simplices() << std::endl; + // std::cout << "Max dimension is : " << simplex_tree.dimension() << std::endl; } |