Enum argmin_core::TerminationReason
source · pub enum TerminationReason {
NotTerminated,
MaxItersReached,
TargetCostReached,
TargetPrecisionReached,
AcceptedStallIterExceeded,
BestStallIterExceeded,
LineSearchConditionMet,
Aborted,
}
Expand description
Indicates why the optimization algorithm stopped
Variants
NotTerminated
In case it has not terminated yet
MaxItersReached
Maximum number of iterations reached
TargetCostReached
Target cost function value reached
TargetPrecisionReached
Target precision reached
AcceptedStallIterExceeded
Acceped stall iter exceeded
BestStallIterExceeded
Best stall iter exceeded
LineSearchConditionMet
Condition for Line search met
Aborted
Aborted
Implementations
Trait Implementations
sourceimpl Clone for TerminationReason
impl Clone for TerminationReason
sourcefn clone(&self) -> TerminationReason
fn clone(&self) -> TerminationReason
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for TerminationReason
impl Debug for TerminationReason
sourceimpl PartialEq<TerminationReason> for TerminationReason
impl PartialEq<TerminationReason> for TerminationReason
sourcefn eq(&self, other: &TerminationReason) -> bool
fn eq(&self, other: &TerminationReason) -> bool
impl StructuralPartialEq for TerminationReason
Auto Trait Implementations
impl RefUnwindSafe for TerminationReason
impl Send for TerminationReason
impl Sync for TerminationReason
impl Unpin for TerminationReason
impl UnwindSafe for TerminationReason
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more