Commit c55a3584 authored by Giovanni La Mura's avatar Giovanni La Mura
Browse files

Move NPTM runners in corresponding sub-folders

parent 2159e85c
Loading
Loading
Loading
Loading
+10 −2
Original line number Original line Diff line number Diff line
@@ -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();
 * 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;
}
}
+10 −2
Original line number Original line Diff line number Diff line
@@ -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();
 * 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;
}
}