[]Trait argmin::prelude::ArgminLineSearch

pub trait ArgminLineSearch<P>: Serialize {
    fn set_search_direction(&mut self, direction: P);
fn set_init_alpha(&mut self, step_length: f64) -> Result<(), Error>; }

Defines a common interface for line search methods.

Required methods

fn set_search_direction(&mut self, direction: P)

Set the search direction

fn set_init_alpha(&mut self, step_length: f64) -> Result<(), Error>

Set the initial step length

Loading content...

Implementors

impl<P> ArgminLineSearch<P> for HagerZhangLineSearch<P> where
    P: Clone + Default + Serialize + ArgminSub<P, P> + ArgminDot<P, f64> + ArgminScaledAdd<P, f64, P>, 
[src]

fn set_search_direction(&mut self, search_direction: P)[src]

Set search direction

fn set_init_alpha(&mut self, alpha: f64) -> Result<(), Error>[src]

Set initial alpha value

impl<P> ArgminLineSearch<P> for MoreThuenteLineSearch<P> where
    P: Clone + Serialize + ArgminSub<P, P> + ArgminDot<P, f64> + ArgminScaledAdd<P, f64, P>, 
[src]

fn set_search_direction(&mut self, search_direction: P)[src]

Set search direction

fn set_init_alpha(&mut self, alpha: f64) -> Result<(), Error>[src]

Set initial alpha value

impl<P, L> ArgminLineSearch<P> for BacktrackingLineSearch<P, L> where
    P: Clone + Serialize + ArgminSub<P, P> + ArgminDot<P, f64> + ArgminScaledAdd<P, f64, P>,
    L: LineSearchCondition<P>, 
[src]

fn set_search_direction(&mut self, search_direction: P)[src]

Set search direction

fn set_init_alpha(&mut self, alpha: f64) -> Result<(), Error>[src]

Set initial alpha value

Loading content...