pub struct GibbsConfig {
pub n_sweeps: usize,
pub burn_in: usize,
pub anneal: Option<(f64, f64)>,
}Expand description
Gibbs sampling configuration.
Fields§
§n_sweeps: usizeNumber of full sweeps (each site visited once per sweep).
burn_in: usizeBurn-in sweeps to discard before recording statistics.
anneal: Option<(f64, f64)>Optional inverse-temperature schedule: linearly anneal from
(beta_start, beta_end) over the sweep budget.
Trait Implementations§
Source§impl Clone for GibbsConfig
impl Clone for GibbsConfig
Source§fn clone(&self) -> GibbsConfig
fn clone(&self) -> GibbsConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for GibbsConfig
Source§impl Debug for GibbsConfig
impl Debug for GibbsConfig
Auto Trait Implementations§
impl Freeze for GibbsConfig
impl RefUnwindSafe for GibbsConfig
impl Send for GibbsConfig
impl Sync for GibbsConfig
impl Unpin for GibbsConfig
impl UnsafeUnpin for GibbsConfig
impl UnwindSafe for GibbsConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more