return (_graph->paths[k]->nb_nodes - 2) / 2;
}
-int Tracker::trajectory_location(int k, int time) {
- return (_graph->paths[k]->nodes[2 * time + 1] - 1) % _nb_locations;
+int Tracker::trajectory_location(int k, int time_from_entry) {
+ return (_graph->paths[k]->nodes[2 * time_from_entry + 1] - 1) % _nb_locations;
}
scalar_t trajectory_score(int k);
int trajectory_entrance_time(int k);
int trajectory_duration(int k);
- int trajectory_location(int k, int time);
+ int trajectory_location(int k, int time_from_entry);
};
#endif