Cosmetics.
authorFrancois Fleuret <francois@fleuret.org>
Sat, 25 Aug 2012 05:31:32 +0000 (07:31 +0200)
committerFrancois Fleuret <francois@fleuret.org>
Sat, 25 Aug 2012 05:31:32 +0000 (07:31 +0200)
mtp.cc
mtp_example.cc

diff --git a/mtp.cc b/mtp.cc
index 2f9e7a9..f2db0c6 100644 (file)
--- a/mtp.cc
+++ b/mtp.cc
@@ -41,6 +41,7 @@ int main(int argc, char **argv) {
     tracker.read(&in_tracker);
     tracker.build_graph();
     tracker.track();
+    cout << "Read " << argv[1] << endl;
 
     ofstream out_traj("result.trj");
     tracker.write_trajectories(&out_traj);
index cb3f44e..4d2ac63 100644 (file)
@@ -124,7 +124,9 @@ int main(int argc, char **argv) {
     cout << "Trajectory "
          << t
          << " starting at " << tracker->trajectory_entrance_time(t)
-         << ", score " << tracker->trajectory_score(t) << ", through nodes ";
+         << ", duration " << tracker->trajectory_duration(t)
+         << ", score " << tracker->trajectory_score(t)
+         << ", through nodes ";
     for(int u = 0; u < tracker->trajectory_duration(t); u++) {
       cout << " " << tracker->trajectory_location(t, u);
     }