Struct pathfinding::directed::edmonds_karp::DenseCapacity[][src]

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

Dense capacity and flow data.

Trait Implementations

impl<C: Clone> Clone for DenseCapacity<C>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

Formats the value using the given formatter. Read more

impl<C: Send> Send for DenseCapacity<C>
[src]

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

Create a new empty structure. Read more

Create a new populated structure. Read more

Common data.

Mutable common data.

List of neighbours with positive residual capacity and this capacity.

Residual capacity between two nodes.

Flow between two nodes.

All flows between nodes.

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

Add some residual capacity.

All positive flows starting from a node.

Create a new populated structure. Read more

Number of nodes.

Source.

Sink.

Set capacity between two nodes.

Get total capacity.

Set total capacity.

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

Are detailed flows requested?

Compute the maximum flow.

Internal: cancel a flow capacity between two nodes.

Auto Trait Implementations

impl<C> Sync for DenseCapacity<C> where
    C: Sync