Struct mcmf::Flow[][src]

pub struct Flow<T: Clone + Ord> {
    pub a: Vertex<T>,
    pub b: Vertex<T>,
    pub amount: u32,
    pub cost: i32,
}

Represents flow in a solution to the minimum cost maximum flow problem.

Fields

Trait Implementations

impl<T: Clone + Clone + Ord> Clone for Flow<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl<T> Send for Flow<T> where
    T: Send

impl<T> Sync for Flow<T> where
    T: Sync