pub struct MaxFlow {
pub value: f64,
pub edge_flows: Vec<f64>,
pub source_side: Vec<bool>,
}Expand description
The value of a maximum flow and the edge flows (in order of addition).
Fields§
§value: f64§edge_flows: Vec<f64>§source_side: Vec<bool>The source side of a minimum cut (vertices reachable from the source in the residual graph); its capacity equals the flow value.
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