X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=blobdiff_plain;f=mtp_graph.h;h=945f3872bab707081454e3f4f19d689aa4a668f9;hb=e755218e26614d7f836b22336f479da6bed7ae8b;hp=916b60447083163f860a385129c976a7b0375bae;hpb=de64ce0b1101045816e6731e03d2735356c33ef0;p=mtp.git 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;