class Tracker {
int _nb_locations, _nb_time_steps;
- MTPGraph *_graph;
scalar_t **_detection_score;
int **_allowed_motion;
+ MTPGraph *_graph;
+ int *_edge_occupation;
+ scalar_t *_edge_lengths;
public:
Tracker(int nb_time_steps, int nb_locations);
~Tracker();
- void set_allowed_motion(int from_location, int to_location);
+ void set_allowed_motion(int from_location, int to_location, int v);
+ void build_graph();
+
void set_detection_score(int time, int location, scalar_t score);
void track();