Trait argmin::core::ArgminLineSearch
source · [−]pub trait ArgminLineSearch<P, F>: Serialize {
fn set_search_direction(&mut self, direction: P);
fn set_init_alpha(&mut self, step_length: F) -> Result<(), Error>;
}
Expand description
Defines a common interface for line search methods.
Required methods
fn set_search_direction(&mut self, direction: P)
fn set_search_direction(&mut self, direction: P)
Set the search direction
fn set_init_alpha(&mut self, step_length: F) -> Result<(), Error>
fn set_init_alpha(&mut self, step_length: F) -> Result<(), Error>
Set the initial step length