pub trait Anneal {
    type Param;
    type Output;
    type Float;

    fn anneal(
        &self,
        param: &Self::Param,
        extent: Self::Float
    ) -> Result<Self::Output, Error>; }
Expand description

This trait handles the annealing of a parameter vector. Problems which are to be solved using SimulatedAnnealing must implement this trait.

Required Associated Types

Type of the parameter vector

Return type of the anneal function

Precision of floats

Required Methods

Anneal a parameter vector

Implementors