pub struct LoqoMuOracle {
pub mu_min: Number,
pub mu_max: Number,
pub avrg_compl: Number,
pub centrality_xi: Number,
}Fields§
§mu_min: Number§mu_max: Number§avrg_compl: NumberLatest cached (avrg_compl, centrality_xi) from
IpoptCalculatedQuantities. The full plumbing wires this in
after the CQ port lands; here we expose a setter so the
arithmetic can be unit-tested in isolation.
centrality_xi: NumberImplementations§
Trait Implementations§
Source§impl Default for LoqoMuOracle
impl Default for LoqoMuOracle
Source§impl MuOracle for LoqoMuOracle
impl MuOracle for LoqoMuOracle
Source§fn calculate_mu(&mut self) -> Option<Number>
fn calculate_mu(&mut self) -> Option<Number>
Probe the next mu given the current iterate state. Phase 10
fills in the actual signatures; trait surface here keeps the
option matrix matchable in
AlgBuilder.Auto Trait Implementations§
impl Freeze for LoqoMuOracle
impl RefUnwindSafe for LoqoMuOracle
impl Send for LoqoMuOracle
impl Sync for LoqoMuOracle
impl Unpin for LoqoMuOracle
impl UnsafeUnpin for LoqoMuOracle
impl UnwindSafe for LoqoMuOracle
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more