Trait Optimizer

Source
pub trait Optimizer {
    type Point;

    // Required method
    fn best_point(&self) -> Self::Point;
}
Expand description

Running optimizer methods independent of configuration and state.

Required Associated Types§

Source

type Point

A point in the problem space being optimized.

Required Methods§

Source

fn best_point(&self) -> Self::Point

Return the best point discovered.

Implementations on Foreign Types§

Source§

impl<O: Optimizer + ?Sized> Optimizer for &O

Source§

type Point = <O as Optimizer>::Point

A point in the problem space being optimized.

Source§

fn best_point(&self) -> Self::Point

Source§

impl<O: Optimizer + ?Sized> Optimizer for &mut O

Source§

type Point = <O as Optimizer>::Point

A point in the problem space being optimized.

Source§

fn best_point(&self) -> Self::Point

Source§

impl<O: Optimizer + ?Sized> Optimizer for Rc<O>

Source§

type Point = <O as Optimizer>::Point

A point in the problem space being optimized.

Source§

fn best_point(&self) -> Self::Point

Source§

impl<O: Optimizer + ?Sized> Optimizer for Arc<O>

Source§

type Point = <O as Optimizer>::Point

A point in the problem space being optimized.

Source§

fn best_point(&self) -> Self::Point

Source§

impl<O: Optimizer> Optimizer for Box<O>

Source§

type Point = <O as Optimizer>::Point

A point in the problem space being optimized.

Source§

fn best_point(&self) -> Self::Point

Implementors§