Lines Matching refs:Graph
29 class Graph {
67 explicit Graph(AdjacencyList &&adj)
147 if (VertexColor(seedIdx) != Graph::VColor::WHITE) {
212 if (VertexColor(state.childIdx) == Graph::VColor::BLACK) {
216 if (VertexColor(state.childIdx) == Graph::VColor::GREY) {
221 VIdx nextChild = state.childIdx + 1 < NumVertices() ? state.childIdx + 1 : Graph::INVALID_V_IDX;
228 state.childIdx = Graph::INVALID_V_IDX;
237 if (state.childIdx != Graph::INVALID_V_IDX) {
240 Mark(state.currentIdx, Graph::VColor::BLACK);
252 Mark(state.currentIdx, Graph::VColor::GREY);
263 Mark(state.currentIdx, Graph::VColor::BLACK);