pub struct MaxFlowResult {
pub flow: i64,
pub steps: usize,
pub edge_flow: Vec<i64>,
}Expand description
Result of the Tide max flow computation.
Fields§
§flow: i64Maximum flow value
steps: usizeNumber of tides (iterations)
edge_flow: Vec<i64>Flow on each edge (indexed by edge index; even = forward, odd = reverse)
Trait Implementations§
Source§impl Clone for MaxFlowResult
impl Clone for MaxFlowResult
Source§fn clone(&self) -> MaxFlowResult
fn clone(&self) -> MaxFlowResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for MaxFlowResult
impl RefUnwindSafe for MaxFlowResult
impl Send for MaxFlowResult
impl Sync for MaxFlowResult
impl Unpin for MaxFlowResult
impl UnsafeUnpin for MaxFlowResult
impl UnwindSafe for MaxFlowResult
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