From 9490c76beeea6435b0d51dc2dc1c4c11f4054a2c Mon Sep 17 00:00:00 2001 From: Francois Fleuret Date: Sat, 25 Aug 2012 07:31:32 +0200 Subject: [PATCH] Cosmetics. --- mtp.cc | 1 + mtp_example.cc | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) 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); } -- 2.20.1