Optimizer

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 for &O
where O: Optimizer + ?Sized,

Source§

type Point = <O as Optimizer>::Point

A point in the problem space being optimized.

Source§

fn best_point(&self) -> <&O as Optimizer>::Point

Source§

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

Source§

type Point = <O as Optimizer>::Point

A point in the problem space being optimized.

Source§

fn best_point(&self) -> <&mut O as Optimizer>::Point

Source§

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

Source§

type Point = <O as Optimizer>::Point

A point in the problem space being optimized.

Source§

fn best_point(&self) -> <Box<O> as Optimizer>::Point

Source§

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

Source§

type Point = <O as Optimizer>::Point

A point in the problem space being optimized.

Source§

fn best_point(&self) -> <Rc<O> as Optimizer>::Point

Source§

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

Source§

type Point = <O as Optimizer>::Point

A point in the problem space being optimized.

Source§

fn best_point(&self) -> <Arc<O> as Optimizer>::Point

Implementors§

Source§

impl<B, F> Optimizer for Pbil<B, F>