pub struct QueryProbability {
pub atom: GroundAtom,
pub log_prob: f64,
pub prob: f64,
}Expand description
Exact probability reported for one ground query.
Fields§
§atom: GroundAtomGround query atom.
log_prob: f64Natural logarithm of the conditional query probability.
prob: f64Conditional query probability in linear space.
Trait Implementations§
Source§impl Clone for QueryProbability
impl Clone for QueryProbability
Source§fn clone(&self) -> QueryProbability
fn clone(&self) -> QueryProbability
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 moreAuto Trait Implementations§
impl Freeze for QueryProbability
impl RefUnwindSafe for QueryProbability
impl Send for QueryProbability
impl Sync for QueryProbability
impl Unpin for QueryProbability
impl UnsafeUnpin for QueryProbability
impl UnwindSafe for QueryProbability
Blanket Implementations§
impl<T> Allocation for T
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