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

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

Dense capacity and flow data.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Create a new empty structure. Read more

Create a new populated structure. Read more

Common data.

Mutable common data.

List of successors 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

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.