Struct pathfinding::SparseCapacity [] [src]

pub struct SparseCapacity<C> { /* fields omitted */ }

Sparse capacity and flow data.

Trait Implementations

impl<C: Debug> Debug for SparseCapacity<C>
[src]

[src]

Formats the value using the given formatter.

impl<C: Copy + Zero + Signed + Eq + Ord + Bounded> EdmondsKarp<C> for SparseCapacity<C>
[src]

[src]

Create a new empty structure. Read more

[src]

Create a new populated structure. Read more

[src]

Common data.

[src]

Mutable common data.

[src]

List of neighbours with positive residual capacity and this capacity.

[src]

Residual capacity between two nodes.

[src]

Flow between two nodes.

[src]

All flows between nodes.

[src]

Add a given flow between two nodes. This should not be used directly. Read more

[src]

Add some residual capacity.

[src]

All positive flows starting from a node.

[src]

Create a new populated structure. Read more

[src]

Number of nodes.

[src]

Source.

[src]

Sink.

[src]

Set capacity between two nodes.

[src]

Get total capacity.

[src]

Set total capacity.

[src]

Do not request the detailed flows as a result. The returned flows will be an empty vector. Read more

[src]

Are detailed flows requested?

[src]

Compute the maximum flow.

[src]

Internal: cancel a flow capacity between two nodes.