Struct rs_graph::maxflow::dinic::Dinic [] [src]

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

The dinic max-flow algorithm.

Trait Implementations

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

Type of the underlying graph.

Type of flows.

Create a new maxflow algorithm instance for a graph.

Return the underlying graph.

Return the value of the latest computed maximum flow.

The flow of an Edge.

Solve the maxflow problem. Read more

Return the mincut associated with the current flow.

The flow as vector.