pub struct MaxFlowResult {
pub max_flow: f64,
pub flow_edges: Vec<(NodeId, NodeId, f64)>,
}Expand description
Result of max flow algorithm.
Fields§
§max_flow: f64Maximum flow value.
flow_edges: Vec<(NodeId, NodeId, f64)>Flow on each edge: (source, target, flow)
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 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