From: Francois Fleuret Date: Sat, 25 Aug 2012 05:31:32 +0000 (+0200) Subject: Cosmetics. X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=commitdiff_plain;h=9490c76beeea6435b0d51dc2dc1c4c11f4054a2c;p=mtp.git Cosmetics. --- diff --git a/mtp.cc b/mtp.cc index 2f9e7a9..f2db0c6 100644 --- 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); diff --git a/mtp_example.cc b/mtp_example.cc index cb3f44e..4d2ac63 100644 --- a/mtp_example.cc +++ b/mtp_example.cc @@ -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); }