pub enum McSamplingMethod {
Rejection,
EvidenceClamping,
}Expand description
Sampling method for Monte Carlo inference.
Variants§
Rejection
Sample from prior, discard worlds where evidence is not satisfied.
EvidenceClamping
Force evidence variables in the sampler; every sample counts.
Implementations§
Trait Implementations§
Source§impl Clone for McSamplingMethod
impl Clone for McSamplingMethod
Source§fn clone(&self) -> McSamplingMethod
fn clone(&self) -> McSamplingMethod
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for McSamplingMethod
impl Debug for McSamplingMethod
Source§impl From<ProbMethod> for McSamplingMethod
impl From<ProbMethod> for McSamplingMethod
Source§impl PartialEq for McSamplingMethod
impl PartialEq for McSamplingMethod
impl Copy for McSamplingMethod
impl Eq for McSamplingMethod
impl StructuralPartialEq for McSamplingMethod
Auto Trait Implementations§
impl Freeze for McSamplingMethod
impl RefUnwindSafe for McSamplingMethod
impl Send for McSamplingMethod
impl Sync for McSamplingMethod
impl Unpin for McSamplingMethod
impl UnsafeUnpin for McSamplingMethod
impl UnwindSafe for McSamplingMethod
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more