Struct rmcmc::runner::Runner [−][src]
pub struct Runner<M, A> where
M: Clone + Send + Sync,
A: SteppingAlg<M> + Send + Sync + Clone, { pub stepper: A, pub n_chains: usize, pub warmup_steps: usize, pub samples: usize, pub keep_warmup: bool, pub thinning: usize, // some fields omitted }
Fields
stepper: A
n_chains: usize
warmup_steps: usize
samples: usize
keep_warmup: bool
thinning: usize
Methods
impl<M, A> Runner<M, A> where
M: Clone + Sync + Send,
A: 'static + SteppingAlg<M> + Send + Sync + Clone,
[src]
impl<M, A> Runner<M, A> where
M: Clone + Sync + Send,
A: 'static + SteppingAlg<M> + Send + Sync + Clone,
pub fn new(stepper: A) -> Runner<M, A>
[src]
pub fn new(stepper: A) -> Runner<M, A>
pub fn chains(&self, n_chains: usize) -> Self
[src]
pub fn chains(&self, n_chains: usize) -> Self
pub fn warmup(&self, steps: usize) -> Self
[src]
pub fn warmup(&self, steps: usize) -> Self
pub fn keep_warmup(&self) -> Self
[src]
pub fn keep_warmup(&self) -> Self
pub fn drop_warmup(&self) -> Self
[src]
pub fn drop_warmup(&self) -> Self
pub fn samples(&self, steps: usize) -> Self
[src]
pub fn samples(&self, steps: usize) -> Self
pub fn thinning(&self, thinning: usize) -> Self
[src]
pub fn thinning(&self, thinning: usize) -> Self
pub fn run(&self, init_model: M) -> Vec<Vec<(M, A)>> where
M: 'static,
[src]
pub fn run(&self, init_model: M) -> Vec<Vec<(M, A)>> where
M: 'static,
Run the steppers specified with this config.
Trait Implementations
impl<M, A> Clone for Runner<M, A> where
M: Clone + Sync + Send,
A: 'static + SteppingAlg<M> + Send + Sync + Clone,
[src]
impl<M, A> Clone for Runner<M, A> where
M: Clone + Sync + Send,
A: 'static + SteppingAlg<M> + Send + Sync + Clone,