diff options
author | vrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2014-12-16 14:38:36 +0000 |
---|---|---|
committer | vrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2014-12-16 14:38:36 +0000 |
commit | e6078c1e4c7561f790afc653269cd3deca4c2350 (patch) | |
tree | e55ed929e8ad4d7c2be0e7bd8999878df3485d7c /src/Persistent_cohomology/example/rips_multifield_persistence.cpp | |
parent | 54c6bc50795f53ff1a1227c098f0d4fe84a8d885 (diff) | |
parent | 8e83a86b147987cc256812aff78335ac8a26c36e (diff) |
Merge of cpplint branch
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/trunk@357 636b058d-ea47-450e-bf9e-a15bfbe3eedb
Former-commit-id: 8b6af51684401f4c45c953142aae90d6f45e6778
Diffstat (limited to 'src/Persistent_cohomology/example/rips_multifield_persistence.cpp')
-rw-r--r-- | src/Persistent_cohomology/example/rips_multifield_persistence.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Persistent_cohomology/example/rips_multifield_persistence.cpp b/src/Persistent_cohomology/example/rips_multifield_persistence.cpp index 95ef8809..2505897e 100644 --- a/src/Persistent_cohomology/example/rips_multifield_persistence.cpp +++ b/src/Persistent_cohomology/example/rips_multifield_persistence.cpp @@ -30,6 +30,7 @@ #include <boost/program_options.hpp> using namespace Gudhi; +using namespace Gudhi::persistent_cohomology; typedef int Vertex_handle; typedef double Filtration_value; @@ -69,6 +70,8 @@ int main (int argc, char * argv[]) st.insert_graph(prox_graph); // insert the proximity graph in the simplex tree st.expansion( dim_max ); // expand the graph until dimension dim_max + std::cout << "st=" << st << std::endl; + // Sort the simplices in the order of the filtration st.initialize_filtration(); |