X-Git-Url: https://www.fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=mtp.git;a=blobdiff_plain;f=mtp_graph.h;h=945f3872bab707081454e3f4f19d689aa4a668f9;hp=916b60447083163f860a385129c976a7b0375bae;hb=34022d5e987cf13ff6db31a6d7263e9266a8b1c0;hpb=50f548312764a481b3ee3b9153b0b738e2ecca17 diff --git a/mtp_graph.h b/mtp_graph.h index 916b604..945f387 100644 --- a/mtp_graph.h +++ b/mtp_graph.h @@ -45,6 +45,8 @@ class MTPGraph { // Follows the path starting on edge e and returns its length. If // nodes is non-null, stores in it the nodes met along the path. int retrieve_one_path(Edge *e, Path *path); + // Returns if the graph is a DAG + int is_dag(); Vertex **_front, **_new_front;