pub enum ProximalOptimizerErr {
ParameterLengthMismatch,
StartUnorderable,
SolutionNoBetter,
}
Variants§
ParameterLengthMismatch
Caused when the length of parameter vectors does not match the number of parameters specified when the optimizer was created.
StartUnorderable
The objective function’s value at the start position could not be compared
with itself (perhaps a NaN
condition?)
SolutionNoBetter
The candidate solution is no better than the starting position, and may actually be worse.
Trait Implementations§
Source§impl Clone for ProximalOptimizerErr
impl Clone for ProximalOptimizerErr
Source§fn clone(&self) -> ProximalOptimizerErr
fn clone(&self) -> ProximalOptimizerErr
Returns a copy of the value. Read more
1.0.0 · 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 ProximalOptimizerErr
impl Debug for ProximalOptimizerErr
impl Copy for ProximalOptimizerErr
Auto Trait Implementations§
impl Freeze for ProximalOptimizerErr
impl RefUnwindSafe for ProximalOptimizerErr
impl Send for ProximalOptimizerErr
impl Sync for ProximalOptimizerErr
impl Unpin for ProximalOptimizerErr
impl UnwindSafe for ProximalOptimizerErr
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)