]> wirehaze git hosting - graph-theory.git/blobdiff - graph/search.h

wirehaze git hosting

add broken prim
[graph-theory.git] / graph / search.h
index 738493d73185f89c2e3163e90a254426cd66851c..a9a5ab6f266a7e122ce9d611879d2ef13ab39cb8 100644 (file)
@@ -10,9 +10,12 @@ enum color
   BLUE
 };
 
+/* lazy */
 struct state
 {
   enum color c;
+  unsigned int w;
+  struct vertex *from;
 };
 
 struct squeue