Cosmetics.
[mtp.git] / tracker.cc
index ad68c28..37fbfe2 100644 (file)
@@ -191,6 +191,10 @@ int Tracker::nb_trajectories() {
   return _graph->nb_paths;
 }
 
+int Tracker::trajectory_entrance_time(int k) {
+  return (_graph->paths[k]->nodes[1] - 1) / (2 * _nb_locations);
+}
+
 int Tracker::trajectory_duration(int k) {
   return (_graph->paths[k]->length - 2) / 2;
 }