pub struct MaxFlowResult {
pub max_flow: i64,
pub edge_flows: Vec<i64>,
pub status: SolverStatus,
pub stats: SolverStats,
}Expand description
Result of max flow computation
Fields§
§max_flow: i64Maximum flow value
edge_flows: Vec<i64>Flow on each original edge (indexed by order of add_edge calls)
status: SolverStatusSolver status
stats: SolverStatsStatistics
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