pub struct WfsRule {
pub head: WfsAtom,
pub body: Vec<WfsLiteral>,
pub provenance: PirNodeId,
}Expand description
A ground rule for WFS evaluation
A ground rule has no variables - all terms are concrete values. Each ground rule also carries a provenance formula for probabilistic tracking.
Fields§
§head: WfsAtomThe head atom this rule derives
body: Vec<WfsLiteral>The body literals (all must be satisfied for rule to fire)
provenance: PirNodeIdProvenance formula for this specific ground instance This is the AND of all non-SCC body literal provenances
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WfsRule
impl RefUnwindSafe for WfsRule
impl Send for WfsRule
impl Sync for WfsRule
impl Unpin for WfsRule
impl UnsafeUnpin for WfsRule
impl UnwindSafe for WfsRule
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