Cosmetics.
[mtp.git] / mtp_graph.h
index e465688..5feb20f 100644 (file)
@@ -26,8 +26,9 @@ class Edge;
 
 class Path {
 public:
-  int starting_time;
-  int duration;
+  Path(int l);
+  ~Path();
+  int length;
   int *nodes;
 };
 
@@ -36,6 +37,7 @@ class MTPGraph {
   void update_positivized_lengths();
   void force_positivized_lengths();
   void find_shortest_path(Vertex **front, Vertex **new_front);
+  int retrieve_one_path(Edge *e, int *nodes);
 
   Vertex **_front, **_new_front;
 
@@ -55,8 +57,8 @@ public:
 
   ~MTPGraph();
 
-  void find_best_paths(scalar_t *lengths, int *result_edge_occupation);
-  void retrieve_paths();
+  void find_best_paths(scalar_t *lengths);
+  void retrieve_disjoint_paths();
 
   void print();
   void print_dot();