pub struct ParametricInterval {
pub lambda_min: BigRational,
pub lambda_max: BigRational,
pub value_slope: BigRational,
pub value_intercept: BigRational,
pub basis: Vec<VarId>,
}Expand description
Parametric interval with constant basis.
Fields§
§lambda_min: BigRationalLower bound on λ (inclusive).
lambda_max: BigRationalUpper bound on λ (exclusive).
value_slope: BigRationalOptimal value function slope: z(λ) = intercept + slope*λ
value_intercept: BigRationalOptimal value function intercept.
basis: Vec<VarId>Basis for this interval.
Trait Implementations§
Source§impl Clone for ParametricInterval
impl Clone for ParametricInterval
Source§fn clone(&self) -> ParametricInterval
fn clone(&self) -> ParametricInterval
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 moreAuto Trait Implementations§
impl Freeze for ParametricInterval
impl RefUnwindSafe for ParametricInterval
impl Send for ParametricInterval
impl Sync for ParametricInterval
impl Unpin for ParametricInterval
impl UnsafeUnpin for ParametricInterval
impl UnwindSafe for ParametricInterval
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