pub struct ParametricSolution {
pub lambda: f64,
pub flow_value: f64,
pub source_set: Vec<usize>,
}Expand description
Result of one single-lambda parametric solve.
Fields§
§lambda: f64The parameter value.
flow_value: f64Maximum flow value (= minimum cut capacity) at this lambda.
source_set: Vec<usize>Minimal source side of the minimum cut (residual-reachable from the
source), sorted ascending. Nested/monotone in lambda.
Trait Implementations§
Source§impl Clone for ParametricSolution
impl Clone for ParametricSolution
Source§fn clone(&self) -> ParametricSolution
fn clone(&self) -> ParametricSolution
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ParametricSolution
impl Debug for ParametricSolution
Source§impl PartialEq for ParametricSolution
impl PartialEq for ParametricSolution
Source§fn eq(&self, other: &ParametricSolution) -> bool
fn eq(&self, other: &ParametricSolution) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ParametricSolution
Auto Trait Implementations§
impl Freeze for ParametricSolution
impl RefUnwindSafe for ParametricSolution
impl Send for ParametricSolution
impl Sync for ParametricSolution
impl Unpin for ParametricSolution
impl UnsafeUnpin for ParametricSolution
impl UnwindSafe for ParametricSolution
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