X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=blobdiff_plain;f=path.h;h=f3076393b8343257a263fa40f99a2b1bad72d117;hb=4d9b58034ce82094c233b61da247e11a584ec0bd;hp=11711a3ed92a74c9a7586705820bb64480dcf339;hpb=c8a37f33eb29f651fed648a48918390f0da1eefb;p=mtp.git diff --git a/path.h b/path.h index 11711a3..f307639 100644 --- a/path.h +++ b/path.h @@ -19,12 +19,15 @@ #ifndef PATH_H #define PATH_H +#include "misc.h" + class Path { public: - Path(int l); + Path(int n); ~Path(); - int length; + int nb_nodes; int *nodes; + scalar_t length; }; #endif