pub struct MaxFlow {
pub value: f64,
pub edge_flow: Vec<f64>,
}Expand description
The result of a max_flow computation.
Fields§
§value: f64Total flow from source to sink.
edge_flow: Vec<f64>Flow on each original directed edge, indexed by EdgeIndex::index().
Trait Implementations§
impl StructuralPartialEq for MaxFlow
Auto Trait Implementations§
impl Freeze for MaxFlow
impl RefUnwindSafe for MaxFlow
impl Send for MaxFlow
impl Sync for MaxFlow
impl Unpin for MaxFlow
impl UnsafeUnpin for MaxFlow
impl UnwindSafe for MaxFlow
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more