Skip to content
Snippets Groups Projects
Commit c55a3584 authored by Giovanni La Mura's avatar Giovanni La Mura
Browse files

Move NPTM runners in corresponding sub-folders

parent 2159e85c
No related branches found
No related tags found
No related merge requests found
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
using namespace std; using namespace std;
extern void cluster(); extern void cluster(string config_file, string data_file, string output_path);
/*! \brief Main program entry point. /*! \brief Main program entry point.
* *
...@@ -20,6 +20,14 @@ extern void cluster(); ...@@ -20,6 +20,14 @@ extern void cluster();
* the configuration and runs the main program. * the configuration and runs the main program.
*/ */
int main(int argc, char **argv) { int main(int argc, char **argv) {
cluster(); string config_file = "../../test_data/cluster/DEDFB";
string data_file = "../../test_data/cluster/DCLU";
string output_path = ".";
if (argc == 4) {
config_file = string(argv[1]);
data_file = string(argv[2]);
output_path = string(argv[3]);
}
cluster(config_file, data_file, output_path);
return 0; return 0;
} }
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
using namespace std; using namespace std;
extern void sphere(); extern void sphere(string config_file, string data_file, string output_path);
/*! \brief Main program entry point. /*! \brief Main program entry point.
* *
...@@ -20,6 +20,14 @@ extern void sphere(); ...@@ -20,6 +20,14 @@ extern void sphere();
* the configuration and runs the main program. * the configuration and runs the main program.
*/ */
int main(int argc, char **argv) { int main(int argc, char **argv) {
sphere(); string config_file = "../../test_data/sphere/DEDFB";
string data_file = "../../test_data/sphere/DCLU";
string output_path = ".";
if (argc == 4) {
config_file = string(argv[1]);
data_file = string(argv[2]);
output_path = string(argv[3]);
}
sphere(config_file, data_file, output_path);
return 0; return 0;
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment