X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=blobdiff_plain;f=tracker.h;fp=tracker.h;h=b56ac61898465358c30c1b3ab3f4f77e17c22ee6;hb=9665f6b8d842f02facda1590200742482d4362fa;hp=ce615b3c4209466c3c7ad04875855276f1e942db;hpb=4d9b58034ce82094c233b61da247e11a584ec0bd;p=mtp.git diff --git a/tracker.h b/tracker.h index ce615b3..b56ac61 100644 --- a/tracker.h +++ b/tracker.h @@ -47,9 +47,16 @@ public: // The detection scores at each node scalar_t **detection_scores; - Tracker(int nb_time_steps, int nb_locations); + Tracker(); ~Tracker(); + void allocate(int nb_time_steps, int nb_locations); + void free(); + + void write(ostream *os); + void read(istream *is); + void write_trajectories(ostream *os); + // Build or print the graph needed for the tracking per se void build_graph();