diff options
author | ROUVREAU Vincent <vincent.rouvreau@inria.fr> | 2020-01-27 17:37:31 +0100 |
---|---|---|
committer | ROUVREAU Vincent <vincent.rouvreau@inria.fr> | 2020-01-27 17:37:31 +0100 |
commit | a064f5698fedbe13f6c343cb0b82e0f4d72caffb (patch) | |
tree | b17f801e64ba3ed94f74f68899d4cd889869485e /src/Simplex_tree/example/simple_simplex_tree.cpp | |
parent | 5d5f40493ce60f2a606793645bf713c60fb5284d (diff) |
A first naive iterator implementation with yield
Diffstat (limited to 'src/Simplex_tree/example/simple_simplex_tree.cpp')
-rw-r--r-- | src/Simplex_tree/example/simple_simplex_tree.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Simplex_tree/example/simple_simplex_tree.cpp b/src/Simplex_tree/example/simple_simplex_tree.cpp index 4353939f..92ab923b 100644 --- a/src/Simplex_tree/example/simple_simplex_tree.cpp +++ b/src/Simplex_tree/example/simple_simplex_tree.cpp @@ -165,6 +165,10 @@ int main(int argc, char* const argv[]) { // ++ GENERAL VARIABLE SET + //std::vector<Simplex_tree::Simplex_handle>::const_iterator + std::vector<Simplex_tree::Simplex_handle>::const_iterator begin = simplexTree.filtration_simplex_range().begin(); + auto end = simplexTree.filtration_simplex_range().end(); + std::cout << "********************************************************************\n"; // Display the Simplex_tree - Can not be done in the middle of 2 inserts std::cout << "* The complex contains " << simplexTree.num_simplices() << " simplices\n"; |