Template Function NetworKit::Traversal::DijkstraFrom(const Graph&, node, Lambda)

Function Documentation

template<typename Lambda>
void NetworKit::Traversal::DijkstraFrom(const Graph &G, node u, Lambda lambda)

Iterate over nodes with Dijkstra starting from the nodes within the given range.

Parameters:
  • G – The input graph.

  • u – The source node.

  • lambda – Takes a node and its distance from u as input parameters.