Struct rmcmc::steppers::SRWM[][src]

pub struct SRWM<D, T, M, L> where
    D: Rv<T> + Variance<f64> + Mean<f64> + Clone,
    M: Clone + 'static,
    T: Debug,
    L: Fn(&M) -> f64 + Sync + Clone
{ pub parameter: Parameter<D, T, M>, pub log_likelihood: L, pub current_score: Option<f64>, pub temperature: f64, pub log_acceptance: f64, // some fields omitted }

Symmetric Random Walk Metropolis Stepping Algorithm

Fields

Methods

impl<D, T, M, L> SRWM<D, T, M, L> where
    D: Rv<T> + Variance<f64> + Mean<f64> + Clone,
    M: Clone,
    T: Debug,
    L: Fn(&M) -> f64 + Sync + Clone
[src]

Trait Implementations

impl<D, M, L> Clone for SRWM<D, f32, M, L> where
    D: Rv<f32> + Variance<f64> + Mean<f64> + Clone,
    M: Clone,
    L: Fn(&M) -> f64 + Sync + Clone
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<D, M, L> SteppingAlg<M> for SRWM<D, f32, M, L> where
    D: Rv<f32> + Variance<f64> + Mean<f64> + Clone,
    M: Clone,
    L: Fn(&M) -> f64 + Sync + Clone
[src]

impl<D, M, L> AnnealingAlg<M> for SRWM<D, f32, M, L> where
    D: Rv<f32> + Variance<f64> + Mean<f64> + Clone,
    M: Clone,
    L: Fn(&M) -> f64 + Sync + Clone
[src]

impl<D, M, L> Clone for SRWM<D, f64, M, L> where
    D: Rv<f64> + Variance<f64> + Mean<f64> + Clone,
    M: Clone,
    L: Fn(&M) -> f64 + Sync + Clone
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<D, M, L> SteppingAlg<M> for SRWM<D, f64, M, L> where
    D: Rv<f64> + Variance<f64> + Mean<f64> + Clone,
    M: Clone,
    L: Fn(&M) -> f64 + Sync + Clone
[src]

impl<D, M, L> AnnealingAlg<M> for SRWM<D, f64, M, L> where
    D: Rv<f64> + Variance<f64> + Mean<f64> + Clone,
    M: Clone,
    L: Fn(&M) -> f64 + Sync + Clone
[src]

impl<D, M, L> Clone for SRWM<D, u16, M, L> where
    D: Rv<u16> + Variance<f64> + Mean<f64> + Clone,
    M: Clone,
    L: Fn(&M) -> f64 + Sync + Clone
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<D, M, L> SteppingAlg<M> for SRWM<D, u16, M, L> where
    D: Rv<u16> + Variance<f64> + Mean<f64> + Clone,
    M: Clone,
    L: Fn(&M) -> f64 + Sync + Clone
[src]

impl<D, M, L> Clone for SRWM<D, u32, M, L> where
    D: Rv<u32> + Variance<f64> + Mean<f64> + Clone,
    M: Clone,
    L: Fn(&M) -> f64 + Sync + Clone
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<D, M, L> SteppingAlg<M> for SRWM<D, u32, M, L> where
    D: Rv<u32> + Variance<f64> + Mean<f64> + Clone,
    M: Clone,
    L: Fn(&M) -> f64 + Sync + Clone
[src]

Auto Trait Implementations

impl<D, T, M, L> Send for SRWM<D, T, M, L> where
    D: Send,
    L: Send

impl<D, T, M, L> Sync for SRWM<D, T, M, L> where
    D: Sync