diff options
author | vrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2017-03-28 10:32:51 +0000 |
---|---|---|
committer | vrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2017-03-28 10:32:51 +0000 |
commit | 4540f8841fa9b8846012dc3cc7e8a20007d1a97f (patch) | |
tree | 4cdd6f0861eca43e1583948c471a0b9679759c36 /src/Witness_complex/example/example_nearest_landmark_table.cpp | |
parent | f0e209149a6bf1d3b13572f3704986a429130a48 (diff) | |
parent | 6ed42daddfede2288bc02ab2e98fc12b47cac74e (diff) |
Merge last trunk modifications
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/ST_cythonize@2263 636b058d-ea47-450e-bf9e-a15bfbe3eedb
Former-commit-id: 9b430e79ecc94bee975d748eb3e2106c7dbab3ce
Diffstat (limited to 'src/Witness_complex/example/example_nearest_landmark_table.cpp')
-rw-r--r-- | src/Witness_complex/example/example_nearest_landmark_table.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Witness_complex/example/example_nearest_landmark_table.cpp b/src/Witness_complex/example/example_nearest_landmark_table.cpp index 7084d416..b8594212 100644 --- a/src/Witness_complex/example/example_nearest_landmark_table.cpp +++ b/src/Witness_complex/example/example_nearest_landmark_table.cpp @@ -23,7 +23,7 @@ #define BOOST_PARAMETER_MAX_ARITY 12 #include <gudhi/Simplex_tree.h> -#include <gudhi/Strong_witness_complex.h> +#include <gudhi/Witness_complex.h> #include <gudhi/Persistent_cohomology.h> #include <iostream> @@ -35,7 +35,7 @@ int main(int argc, char * const argv[]) { using Nearest_landmark_range = std::vector<std::pair<std::size_t, double>>; using Nearest_landmark_table = std::vector<Nearest_landmark_range>; - using Witness_complex = Gudhi::witness_complex::Strong_witness_complex<Nearest_landmark_table>; + using Witness_complex = Gudhi::witness_complex::Witness_complex<Nearest_landmark_table>; using Simplex_tree = Gudhi::Simplex_tree<>; using Field_Zp = Gudhi::persistent_cohomology::Field_Zp; using Persistent_cohomology = Gudhi::persistent_cohomology::Persistent_cohomology<Simplex_tree, Field_Zp>; @@ -56,7 +56,7 @@ int main(int argc, char * const argv[]) { std::make_pair(2, 3), std::make_pair(3, 4)}; nlt.push_back(w4); Witness_complex witness_complex(nlt); - witness_complex.create_complex(simplex_tree, 4.1, 2); + witness_complex.create_complex(simplex_tree, 4.1); std::cout << "Number of simplices: " << simplex_tree.num_simplices() << std::endl; |