pub struct StrongWolfeCondition<F> { /* private fields */ }Expand description
§Strong Wolfe conditions
Assures that a step length satisfies a “sufficient decrease” in cost function value (see
ArmijoCondition as well as that
the absolute value of the slope has been reduced sufficiently (thus making it more likely to be
close to a critical point).
Implementations§
Source§impl<F> StrongWolfeCondition<F>where
F: ArgminFloat,
impl<F> StrongWolfeCondition<F>where
F: ArgminFloat,
Trait Implementations§
Source§impl<F: Clone> Clone for StrongWolfeCondition<F>
impl<F: Clone> Clone for StrongWolfeCondition<F>
impl<F: Copy> Copy for StrongWolfeCondition<F>
Source§impl<F: Debug> Debug for StrongWolfeCondition<F>
impl<F: Debug> Debug for StrongWolfeCondition<F>
Source§impl<F: Default> Default for StrongWolfeCondition<F>
impl<F: Default> Default for StrongWolfeCondition<F>
impl<F: Eq> Eq for StrongWolfeCondition<F>
Source§impl<T, G, F> LineSearchCondition<T, G, F> for StrongWolfeCondition<F>where
G: ArgminDot<T, F>,
F: ArgminFloat,
impl<T, G, F> LineSearchCondition<T, G, F> for StrongWolfeCondition<F>where
G: ArgminDot<T, F>,
F: ArgminFloat,
Source§fn evaluate_condition(
&self,
current_cost: F,
current_gradient: Option<&G>,
initial_cost: F,
initial_gradient: &G,
search_direction: &T,
step_length: F,
) -> bool
fn evaluate_condition( &self, current_cost: F, current_gradient: Option<&G>, initial_cost: F, initial_gradient: &G, search_direction: &T, step_length: F, ) -> bool
Evaluate the condition Read more
Source§fn requires_current_gradient(&self) -> bool
fn requires_current_gradient(&self) -> bool
Indicates whether this condition requires the computation of the gradient at the new point Read more
Source§impl<F: PartialEq> PartialEq for StrongWolfeCondition<F>
impl<F: PartialEq> PartialEq for StrongWolfeCondition<F>
impl<F: PartialEq> StructuralPartialEq for StrongWolfeCondition<F>
Auto Trait Implementations§
impl<F> Freeze for StrongWolfeCondition<F>where
F: Freeze,
impl<F> RefUnwindSafe for StrongWolfeCondition<F>where
F: RefUnwindSafe,
impl<F> Send for StrongWolfeCondition<F>where
F: Send,
impl<F> Sync for StrongWolfeCondition<F>where
F: Sync,
impl<F> Unpin for StrongWolfeCondition<F>where
F: Unpin,
impl<F> UnsafeUnpin for StrongWolfeCondition<F>where
F: UnsafeUnpin,
impl<F> UnwindSafe for StrongWolfeCondition<F>where
F: UnwindSafe,
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