Struct pathfinding::DenseCapacity [] [src]

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

Dense capacity and flow data.

Trait Implementations

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

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

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

[src]

Formats the value using the given formatter.

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

impl<C: Copy + Zero + Signed + Ord + Bounded> EdmondsKarp<C> for DenseCapacity<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.