From 2e20a1eb3156f7ea10ac19eb400f78ac55a1cb80 Mon Sep 17 00:00:00 2001 From: ROUVREAU Vincent Date: Thu, 19 Mar 2020 10:20:51 +0100 Subject: Remove PointSetGen --- src/Collapse/include/gudhi/PointSetGen.h | 69 -------------------------------- 1 file changed, 69 deletions(-) delete mode 100644 src/Collapse/include/gudhi/PointSetGen.h (limited to 'src/Collapse') diff --git a/src/Collapse/include/gudhi/PointSetGen.h b/src/Collapse/include/gudhi/PointSetGen.h deleted file mode 100644 index 45e9fbba..00000000 --- a/src/Collapse/include/gudhi/PointSetGen.h +++ /dev/null @@ -1,69 +0,0 @@ -#include -#include - -#include -#include -#include - -#include - -using Point = CGAL::Epick_d< CGAL::Dynamic_dimension_tag>::Point_d; -using Vector_of_points = std::vector; - -class PointSetGen { - public: - void program_options(int argc, char * const argv[] - , double & steps - , double & end_thresold - , char & manifold - , int & dimension - , int & dim_max - , std::string & in_file_name - , std::string & out_file_name - ) { - namespace po = boost::program_options; - - po::options_description visible("Allowed options", 100); - visible.add_options() - ("help,h", "produce help message") - ("steps,s", po::value(&steps)->default_value(0.1), - "Steps of the threshold") - ("end_thresold,e", po::value(&end_thresold)->default_value(1), - "Final threshold for rips complex.") - ("manifold,m", po::value(&manifold)->default_value('s'), - "Type of manifold") - - ("dimensions,D", po::value(&dimension)->default_value(2), - "Dimension of the manifold.") - - ("dim_max,k ", po::value(&dim_max)->default_value(2), - "Maximum allowed dimension of the Rips complex.") - - ("input_file_name,i", po::value(&in_file_name), - "The input file.") - ("out_file_name,o", po::value(&out_file_name), - "The output file."); - - po::options_description all; - all.add(visible); - - po::variables_map vm; - po::store(po::command_line_parser(argc, argv). - options(all).run(), vm); - po::notify(vm); - - if (vm.count("help")) { - std::cout << std::endl; - std::cout << "Computes rips complexes of different threshold values, to 'end_thresold', with priodic steps of 'steps' from a n random uniform point_vector on a selected manifold, . \n"; - std::cout << "Strongly collapses all the rips complexes and output the results in out_file. \n"; - std::cout << "The experiments are repeted 'repete' num of times for each threshold value. \n"; - std::cout << "type -m for manifold options, 's' for uni sphere, 'b' for unit ball, 'f' for file. \n"; - std::cout << "type -i 'filename' for Input file option for exported point sample. \n"; - std::cout << std::endl << std::endl; - - std::cout << "Usage: " << argv[0] << " [options]" << std::endl << std::endl; - std::cout << visible << std::endl; - std::abort(); - } - } -}; \ No newline at end of file -- cgit v1.2.3