Skip to main content

Module ford_fulkerson

Module ford_fulkerson 

Source

Functionsยง

adjust_residual_flow ๐Ÿ”’
ford_fulkerson
Ford-Fulkerson algorithm in the Edmonds-Karp variation. Computes the maximum flow from source to destination in a weighted directed graph.
has_augmented_path ๐Ÿ”’
Tells whether there is an augmented path in the graph
other_endpoint ๐Ÿ”’
Gets the other endpoint of graph edge, if any, otherwise panics.
residual_capacity ๐Ÿ”’