Defined in File BidirectionalBFS.hpp
public NetworKit::STSP
(Class STSP)
Public Functions
Creates the BidirectionalBFS class for a graph G, source node source, and target node target.
G – The graph.
source – The source node.
target – The target node.
storePred – If true, the algorithm will also store the predecessors and reconstruct a shortest path from source and target.
The generic run method which calls runImpl() and takes care of setting hasRun to the appropriate value.