- deallocate_array<scalar_t>(_detection_score);
- deallocate_array<int>(_allowed_motion);
- delete[] _exits;
- delete[] _entrances;
-}
-
-void Tracker::set_allowed_motion(int from_location, int to_location, int v) {
- _allowed_motion[from_location][to_location] = v;
-}
-
-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;