Struct rs_graph::maxflow::edmondskarp::EdmondsKarp [] [src]

pub struct EdmondsKarp<'a, G, F> where
    G: 'a + IndexNetwork<'a>, 
{ /* fields omitted */ }

The dinic max-flow algorithm.

Trait Implementations

impl<'a, G, F> MaxFlow<'a> for EdmondsKarp<'a, G, F> where
    G: IndexNetwork<'a>,
    F: NumAssign + Ord + Copy
[src]

Type of the underlying graph.

Type of flows.

[src]

Create a new maxflow algorithm instance for a graph.

[src]

Return the underlying graph.

[src]

Return the value of the latest computed maximum flow.

[src]

The flow of an Edge.

[src]

Solve the maxflow problem. Read more

[src]

Return the mincut associated with the current flow.

[src]

The flow as vector.