[][src]Trait optimization::Minimizer

pub trait Minimizer<F: ?Sized> {
    type Solution: Evaluation;
    fn minimize(
        &self,
        function: &F,
        initial_position: Vec<f64>
    ) -> Self::Solution; }

Defines an optimizer that is able to minimize a given objective function F.

Associated Types

type Solution: Evaluation

Type of the solution the Minimizer returns.

Loading content...

Required methods

fn minimize(&self, function: &F, initial_position: Vec<f64>) -> Self::Solution

Performs the actual minimization and returns a solution that might be better than the initially provided one.

Loading content...

Implementors

impl<F: Function1, S: LineSearch> Minimizer<F> for GradientDescent<S>[src]

type Solution = Solution

impl<F: Summation1> Minimizer<F> for StochasticGradientDescent[src]

type Solution = Solution

Loading content...