+ tracker->write_trajectories(&cout);
+ }
+
+ if(strcmp(graph_filename, "") != 0) {
+ ofstream out_dot(graph_filename);
+ tracker->print_graph_dot(&out_dot);
+ if(verbose) { cout << "Wrote " << graph_filename << "." << endl; }
+ }
+
+ delete tracker;
+}
+
+static struct option long_options[] = {
+ { "trajectory-file", 1, 0, 't' },
+ { "graph-file", 1, 0, 'g' },
+ { "help", no_argument, 0, 'h' },
+ { "verbose", no_argument, 0, 'v' },
+ { 0, 0, 0, 0 }
+};