Defined in File DynSSSP.hpp
public NetworKit::SSSP
(Class SSSP)
public NetworKit::DynAlgorithm
(Class DynAlgorithm)
public NetworKit::DynBFS
(Class DynBFS)
public NetworKit::DynDijkstra
(Class DynDijkstra)
Interface for dynamic single-source shortest path algorithms.
Subclassed by NetworKit::DynBFS, NetworKit::DynDijkstra
Public Functions
The algorithm computes a dynamic SSSP starting from the specified source vertex.
graph – input graph.
source – source vertex.
storePredecessors – keep track of the lists of predecessors?
Returns true or false depending on whether the node previoulsy specified with setTargetNode has been modified by the udate or not.
batch – The batch of edge insertions.
Set a target node to be observed
during the update. If a node t is set as target before the update, the function modified() will return true or false depending on whether node t has been modified by the update.
t – Node to be observed
.