diff options
author | mcarrier <mcarrier@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2017-05-04 16:50:33 +0000 |
---|---|---|
committer | mcarrier <mcarrier@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2017-05-04 16:50:33 +0000 |
commit | 2c4216b03a848dd8dd41b7dde11100835b943a3c (patch) | |
tree | 4c104fa79cc0c86e792c88cbd9d77e8f2bebc61d /src/Nerve_GIC/example/simple_GIC.cpp | |
parent | 56b5f54a72e23a1feb7d12ad8af30cf7baf25060 (diff) |
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/Nerve_GIC@2398 636b058d-ea47-450e-bf9e-a15bfbe3eedb
Former-commit-id: 23d1dbe6e4b910473fd7707d649df8fd8bbd4dbf
Diffstat (limited to 'src/Nerve_GIC/example/simple_GIC.cpp')
-rw-r--r-- | src/Nerve_GIC/example/simple_GIC.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/Nerve_GIC/example/simple_GIC.cpp b/src/Nerve_GIC/example/simple_GIC.cpp index 9ed8f23b..f7a87e85 100644 --- a/src/Nerve_GIC/example/simple_GIC.cpp +++ b/src/Nerve_GIC/example/simple_GIC.cpp @@ -27,13 +27,15 @@ int main(int argc, char **argv) { Gudhi::graph_induced_complex::Graph_induced_complex GIC; - GIC.set_graph_from_rips(threshold, off_file_name); + GIC.set_graph_from_automatic_rips(100, off_file_name); + //GIC.set_graph_from_rips(threshold, off_file_name); //GIC.set_graph_from_OFF(off_file_name); GIC.set_function_from_coordinate(coord, off_file_name); - GIC.set_cover_from_function(resolution,gain,0); + resolution = GIC.set_automatic_resolution_for_GICMAP(); + GIC.set_cover_from_function(resolution,gain,1); //GIC.find_GIC_simplices(); - GIC.find_Nerve_simplices(); - //GIC.find_GIC_simplices_with_functional_minimal_cover(); + //GIC.find_Nerve_simplices(); + GIC.find_GICMAP_simplices_with_functional_minimal_cover(); Simplex_tree stree; GIC.create_complex(stree); std::streambuf* streambufffer; |