[][src]Enum argmin::solver::simulatedannealing::SATempFunc

pub enum SATempFunc {
    TemperatureFast,
    Boltzmann,
    Exponential(f64),
}

Temperature functions for Simulated Annealing.

Given the initial temperature t_init and the iteration number i, the current temperature t_i is given as follows:

  • SATempFunc::TemperatureFast: t_i = t_init / i
  • SATempFunc::Boltzmann: t_i = t_init / ln(i)
  • SATempFunc::Exponential: t_i = t_init * 0.95^i

Variants

TemperatureFast

t_i = t_init / i

Boltzmann

t_i = t_init / ln(i)

Exponential(f64)

t_i = t_init * x^i

Trait Implementations

impl Default for SATempFunc[src]

impl Clone for SATempFunc[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for SATempFunc[src]

impl Debug for SATempFunc[src]

impl<'de> Deserialize<'de> for SATempFunc[src]

impl Serialize for SATempFunc[src]

Auto Trait Implementations

impl Send for SATempFunc

impl Sync for SATempFunc

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]