-void Tracker::set_as_entrance(int location, int v) {
- _entrances[location] = v;
-}
-
-void Tracker::set_as_exit(int location, int v) {
- _exits[location] = v;
-}
-
-void Tracker::set_detection_score(int time, int location, scalar_t score) {
- _detection_score[time][location] = score;
+int Tracker::late_pair_node(int t, int l) {
+ return 1 + (2 * (t + 0) + 1) * _nb_locations + l;