-int main(int argc, char **argv) {
-
- if(argc < 2) {
- cerr << argv[0] << " <tracker file>" << endl;
- exit(EXIT_FAILURE);
- }
+#define FILENAME_SIZE 1024
+
+char trajectory_filename[FILENAME_SIZE];
+char graph_filename[FILENAME_SIZE];
+int verbose;
+
+void usage(ostream *os) {
+ (*os) << "mtp [-h|--help] [-v|--verbose] [-t|--trajectory-filename <trajectory filename>] [-g|--graph-filename <graph filename>] [<tracking parameter file>]" << endl;
+ (*os) << endl;
+ (*os) << "The mtp command processes a file containing the description of a topology" << endl;
+ (*os) << "and detection scores, and prints the optimal set of trajectories." << endl;
+ (*os) << "If no filename is provided, it will read the parameters from the stdin." << endl;
+ (*os) << "If no trajectory filename is provided, it will write the result to" << endl;
+ (*os) << "stdout." << endl;
+ (*os) << endl;
+ (*os) << "Written by Francois Fleuret. (C) Idiap Research Institute, 2012." << endl;
+}