Lines Matching refs:currentIdx
181 VIdx currentIdx;
191 result.vertices.push_back(v_[state.currentIdx].data);
192 result.edges.push_back(e_[state.currentIdx][state.childIdx]);
193 VIdx prevIdx = state.currentIdx;
197 result.vertices.push_back(v_[s.currentIdx].data);
198 result.edges.push_back(e_[s.currentIdx][prevIdx]);
199 prevIdx = s.currentIdx;
200 if (s.currentIdx == originIdx) {
210 if (HasEdge(state.currentIdx, state.childIdx)) {
222 dfsStack.push(DfsState {state.currentIdx, nextChild});
223 state.currentIdx = state.childIdx;
240 Mark(state.currentIdx, Graph::VColor::BLACK);
252 Mark(state.currentIdx, Graph::VColor::GREY);
263 Mark(state.currentIdx, Graph::VColor::BLACK);