Execution

Trait Execution 

Source
pub trait Execution {
    // Required method
    fn extend_chain<P, W, U>(
        &self,
        chain: &mut Vec<P>,
        walkers: &mut [W],
        update: U,
    )
       where P: Send + Sync,
             W: Send + Sync,
             U: Fn(&mut W) -> P + Send + Sync;
}
Expand description

Execution strategy for updateing an ensemble of walkers to extend the given chain

Required Methods§

Source

fn extend_chain<P, W, U>( &self, chain: &mut Vec<P>, walkers: &mut [W], update: U, )
where P: Send + Sync, W: Send + Sync, U: Fn(&mut W) -> P + Send + Sync,

Must call update exactly once for all elements of walkers and store the results in chain

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§