pub enum EvidenceDirection {
Supporting,
Opposing,
Neutral,
}Expand description
Whether evidence supports or opposes the chosen action.
Variants§
Supporting
Evidence supports the chosen action.
Opposing
Evidence opposes the chosen action.
Neutral
Evidence is neutral (Bayes factor near 1.0).
Implementations§
Source§impl EvidenceDirection
impl EvidenceDirection
Sourcepub fn from_bayes_factor(bf: f64) -> Self
pub fn from_bayes_factor(bf: f64) -> Self
Classify from a Bayes factor.
Trait Implementations§
Source§impl Clone for EvidenceDirection
impl Clone for EvidenceDirection
Source§fn clone(&self) -> EvidenceDirection
fn clone(&self) -> EvidenceDirection
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 EvidenceDirection
impl Debug for EvidenceDirection
Source§impl PartialEq for EvidenceDirection
impl PartialEq for EvidenceDirection
impl Copy for EvidenceDirection
impl Eq for EvidenceDirection
impl StructuralPartialEq for EvidenceDirection
Auto Trait Implementations§
impl Freeze for EvidenceDirection
impl RefUnwindSafe for EvidenceDirection
impl Send for EvidenceDirection
impl Sync for EvidenceDirection
impl Unpin for EvidenceDirection
impl UnsafeUnpin for EvidenceDirection
impl UnwindSafe for EvidenceDirection
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.