Defined in File MultiTargetBFS.hpp
public NetworKit::STSP
(Class STSP)
Computes the shortest-path distance from a single source to multiple targets in unweighted graphs.
Public Functions
Creates the MultiTargetBFS class for a graph G, source node source, and multiple target nodes.
G – The graph.
source – The source node.
targetsFirst, targetsLast – Range of target nodes.
The generic run method which calls runImpl() and takes care of setting hasRun to the appropriate value.