diff options
Diffstat (limited to 'src/Nerve_GIC/example/FuncGIC.cpp')
-rw-r--r-- | src/Nerve_GIC/example/FuncGIC.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Nerve_GIC/example/FuncGIC.cpp b/src/Nerve_GIC/example/FuncGIC.cpp index 56c97b7f..71448ea4 100644 --- a/src/Nerve_GIC/example/FuncGIC.cpp +++ b/src/Nerve_GIC/example/FuncGIC.cpp @@ -50,15 +50,17 @@ int main(int argc, char **argv) { if(!check) std::cout << "Incorrect OFF file." << std::endl; else{ + GIC.set_type("GIC"); + GIC.set_color_from_file(func_file_name); GIC.set_function_from_file(func_file_name); GIC.set_graph_from_automatic_rips(Gudhi::Euclidean_distance()); - GIC.set_automatic_resolution_for_GIC(); GIC.set_gain(); + GIC.set_automatic_resolution(); GIC.set_gain(); GIC.set_cover_from_function(); - GIC.find_GIC_simplices_with_functional_minimal_cover(); + GIC.find_simplices(); GIC.plot_DOT(); |