Defined in File AllSimplePaths.hpp
public NetworKit::Algorithm
(Class Algorithm)
Determines all the possible simple paths from a given source node to a target node of a directed unweighted graph. It also accepts a cutoff value i.e. the maximum length of paths.
Public Functions
Creates the AllSimplePaths class for G, source s and target t.
G – The graph.
source – The source node.
target – The target node.
cutoff – The maximum length of the paths.
This method computes all possible paths from a given source node to a target node.