diff options
author | vrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2018-05-15 14:16:45 +0000 |
---|---|---|
committer | vrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2018-05-15 14:16:45 +0000 |
commit | e94d787c89a7c9a71c86118bc3e048241e9c5ca1 (patch) | |
tree | dac3c7a5060bc7178602dc0f4ca3128602580530 /src/Toplex_map/example/Toplex_map_from_cliques_of_graph.cpp | |
parent | 6a450d80816647cbd5a26fbe62b7573c5f7b7ec7 (diff) |
Add examples with Fake_simplex_tree
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/toplex_map@3442 636b058d-ea47-450e-bf9e-a15bfbe3eedb
Former-commit-id: ccdd8f43c0e86a98efd3f9d7e9c7b8728ebd27a7
Diffstat (limited to 'src/Toplex_map/example/Toplex_map_from_cliques_of_graph.cpp')
-rw-r--r-- | src/Toplex_map/example/Toplex_map_from_cliques_of_graph.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Toplex_map/example/Toplex_map_from_cliques_of_graph.cpp b/src/Toplex_map/example/Toplex_map_from_cliques_of_graph.cpp index 3df0cbd9..c43f1b69 100644 --- a/src/Toplex_map/example/Toplex_map_from_cliques_of_graph.cpp +++ b/src/Toplex_map/example/Toplex_map_from_cliques_of_graph.cpp @@ -21,7 +21,7 @@ */ #include <gudhi/reader_utils.h> -#include "gudhi/Fake_simplex_tree.h" +#include "Fake_simplex_tree.h" #include <iostream> #include <ctime> @@ -82,7 +82,7 @@ int main(int argc, char * const argv[]) { std::cout << std::endl << std::endl; std::cout << "Iterator on skeleton:" << std::endl; - for (auto f_simplex : t_map.skeleton_simplex_range()) { + for (auto f_simplex : t_map.skeleton_simplex_range(max_dim)) { std::cout << " " << "[" << t_map.filtration(f_simplex) << "] "; for (auto vertex : t_map.simplex_vertex_range(f_simplex)) { std::cout << vertex << " "; @@ -91,4 +91,3 @@ int main(int argc, char * const argv[]) { } return 0; } -} |