pub trait ArgminLineSearch<P, F>: Serialize {
// Required methods
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§
Sourcefn set_search_direction(&mut self, direction: P)
fn set_search_direction(&mut self, direction: P)
Set the search direction
Sourcefn 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
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.