From 2c4216b03a848dd8dd41b7dde11100835b943a3c Mon Sep 17 00:00:00 2001 From: mcarrier Date: Thu, 4 May 2017 16:50:33 +0000 Subject: git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/Nerve_GIC@2398 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: 23d1dbe6e4b910473fd7707d649df8fd8bbd4dbf --- src/Nerve_GIC/example/simple_GIC.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src') 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; -- cgit v1.2.3