diff options
Diffstat (limited to 'src')
-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; |