pub struct MinimizeResult {
pub x: Vec<f64>,
pub fun: f64,
pub iterations: usize,
pub evaluations: usize,
pub converged: bool,
}Expand description
Outcome of a multivariate minimisation (nelder_mead,
differential_evolution and the Ex wrappers).
Fields§
§x: Vec<f64>Location of the best point found.
fun: f64Objective value at x.
iterations: usizeIterations performed: Nelder–Mead steps, or generations for differential evolution.
evaluations: usizeTotal number of objective evaluations (including any polishing).
converged: booltrue if the stopping criterion was met before the iteration budget
ran out. When false, x is still the best point seen.
Trait Implementations§
Source§impl Clone for MinimizeResult
impl Clone for MinimizeResult
Source§impl Debug for MinimizeResult
impl Debug for MinimizeResult
Source§impl PartialEq for MinimizeResult
impl PartialEq for MinimizeResult
impl StructuralPartialEq for MinimizeResult
Auto Trait Implementations§
impl Freeze for MinimizeResult
impl RefUnwindSafe for MinimizeResult
impl Send for MinimizeResult
impl Sync for MinimizeResult
impl Unpin for MinimizeResult
impl UnsafeUnpin for MinimizeResult
impl UnwindSafe for MinimizeResult
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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