#ifndef SEARCH_H #define SEARCH_H #include "graph/adj.h" enum color { WHITE = 0, RED, BLUE }; /* lazy */ struct state { enum color c; unsigned int w; struct vertex *from; }; struct squeue { struct vertex **q; /* queue */ struct vertex **f; /* first */ struct vertex **l; /* last */ }; #endif /* SEARCH_H */