Preparing to make mtp be a command line using an input file.
[mtp.git] / tracker.h
index ce615b3..b56ac61 100644 (file)
--- 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();