pub struct ExactLineSearch { /* private fields */ }
Expand description
Brute-force line search minimizing the objective function over a set of step width candidates, also known as exact line search.
Implementations§
Source§impl ExactLineSearch
impl ExactLineSearch
Sourcepub fn new(
start_step_width: f64,
stop_step_width: f64,
increase_factor: f64,
) -> ExactLineSearch
pub fn new( start_step_width: f64, stop_step_width: f64, increase_factor: f64, ) -> ExactLineSearch
Creates a new ExactLineSearch
given the start_step_width
, the stop_step_width
and the increase_factor
. The set of evaluated step widths γ
is specified as
{ γ | γ = start_step_width · increase_factorⁱ, i ∈ N, γ <= stop_step_width }
,
assuming that start_step_width
< stop_step_width
and increase_factor
> 1.
Trait Implementations§
Source§impl Clone for ExactLineSearch
impl Clone for ExactLineSearch
Source§fn clone(&self) -> ExactLineSearch
fn clone(&self) -> ExactLineSearch
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 ExactLineSearch
impl Debug for ExactLineSearch
Source§impl LineSearch for ExactLineSearch
impl LineSearch for ExactLineSearch
impl Copy for ExactLineSearch
Auto Trait Implementations§
impl Freeze for ExactLineSearch
impl RefUnwindSafe for ExactLineSearch
impl Send for ExactLineSearch
impl Sync for ExactLineSearch
impl Unpin for ExactLineSearch
impl UnwindSafe for ExactLineSearch
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