pub enum ReteUlNode {
UlAlpha(AlphaNode),
UlAnd(Box<ReteUlNode>, Box<ReteUlNode>),
UlOr(Box<ReteUlNode>, Box<ReteUlNode>),
UlNot(Box<ReteUlNode>),
UlExists(Box<ReteUlNode>),
UlForall(Box<ReteUlNode>),
UlTerminal(String),
}Expand description
RETE-UL: Unified Logic Node
Variants§
UlAlpha(AlphaNode)
UlAnd(Box<ReteUlNode>, Box<ReteUlNode>)
UlOr(Box<ReteUlNode>, Box<ReteUlNode>)
UlNot(Box<ReteUlNode>)
UlExists(Box<ReteUlNode>)
UlForall(Box<ReteUlNode>)
UlTerminal(String)
Implementations§
Source§impl ReteUlNode
impl ReteUlNode
Sourcepub fn evaluate_typed(&self, facts: &TypedFacts) -> bool
pub fn evaluate_typed(&self, facts: &TypedFacts) -> bool
Evaluate with typed facts (convenience method)
Trait Implementations§
Source§impl Clone for ReteUlNode
impl Clone for ReteUlNode
Source§fn clone(&self) -> ReteUlNode
fn clone(&self) -> ReteUlNode
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 moreAuto Trait Implementations§
impl Freeze for ReteUlNode
impl RefUnwindSafe for ReteUlNode
impl Send for ReteUlNode
impl Sync for ReteUlNode
impl Unpin for ReteUlNode
impl UnwindSafe for ReteUlNode
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