Defined in File AlgebraicBellmanFord.hpp
public NetworKit::Algorithm
(Class Algorithm)
Implementation of the Bellman-Ford algorithm using the GraphBLAS interface.
Public Functions
Construct an instance of the BellmanFord algorithm for the Graph graph and the given source node.
graph –
source –
Default destructor
Compute the shortest path from the source to all other nodes.
Returns the distance from the source node to t.
t – Target node.
The distance from source to target node t.
True if there is a negative cycle present in the graph, otherwise false.