Struct rs_graph::maxflow::pushrelabel::PushRelabel [] [src]

pub struct PushRelabel<'a, G, F> where
    G: 'a + IndexNetwork<'a>, 
{ pub cnt_relabel: usize, pub use_global_relabelling: bool, // some fields omitted }

Fields

Trait Implementations

impl<'a, G, F> MaxFlow<'a> for PushRelabel<'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.