pub struct EvidenceContribution {
pub variable: VariableId,
pub impact: f64,
pub direction: f64,
}Expand description
Contribution of a single piece of evidence to the result.
Fields§
§variable: VariableIdThe evidence variable.
impact: f64How much this evidence changed the target posterior.
direction: f64Direction: positive = increased target, negative = decreased.
Trait Implementations§
Source§impl Clone for EvidenceContribution
impl Clone for EvidenceContribution
Source§fn clone(&self) -> EvidenceContribution
fn clone(&self) -> EvidenceContribution
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 EvidenceContribution
impl Debug for EvidenceContribution
Source§impl<'de> Deserialize<'de> for EvidenceContribution
impl<'de> Deserialize<'de> for EvidenceContribution
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for EvidenceContribution
impl RefUnwindSafe for EvidenceContribution
impl Send for EvidenceContribution
impl Sync for EvidenceContribution
impl Unpin for EvidenceContribution
impl UnsafeUnpin for EvidenceContribution
impl UnwindSafe for EvidenceContribution
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