X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=blobdiff_plain;f=mtp_graph.h;h=7ccbfe36ff1982a73c5d88be900b0756f99c62d9;hb=535b8ede7d6646ea17135da10c8a16416524f6e9;hp=0fad09dfb1c7e6f1897304e00d98b97bde23ee79;hpb=598184c893e63ddd5b473aee104a9c2d1af07830;p=mtp.git diff --git a/mtp_graph.h b/mtp_graph.h index 0fad09d..7ccbfe3 100644 --- a/mtp_graph.h +++ b/mtp_graph.h @@ -25,18 +25,11 @@ using namespace std; #include "misc.h" +#include "path.h" class Vertex; class Edge; -class Path { -public: - Path(int l); - ~Path(); - int length; - int *nodes; -}; - class MTPGraph { void initialize_positivized_lengths_with_min(); void update_positivized_lengths(); @@ -54,6 +47,7 @@ class MTPGraph { public: + // These variables are filled when retrieve_disjoint_paths is called int nb_paths; Path **paths;