Template Function NetworKit::Traversal::DijkstraFrom(const Graph&, InputIt, InputIt, Handle)

Function Documentation

template<class InputIt, typename Handle>
void NetworKit::Traversal::DijkstraFrom(const Graph &G, InputIt first, InputIt last, Handle handle)

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

Parameters:
  • G – The input graph.

  • first – The first element of the range.

  • last – The end of the range.

  • lambda – Takes a node and its distance from the nodes in the range as input parameters.