Searched defs:IncDistance (Results 1 – 1 of 1) sorted by relevance
52 struct IncDistance struct54 IncDistance(std::vector<int> &vdists) : dists(&vdists[0]) {} in IncDistance() function55 void operator ()(const GraphEdge &edge) { dists[edge.to] = dists[edge.from] + 1; } in operator ()()56 int* dists;