#[repr(u32)]pub enum Strategy {
Depth = 0,
Breadth = 1,
Lex = 2,
Mea = 3,
Complexity = 4,
Simplicity = 5,
Random = 6,
}Expand description
How CLIPS orders activations of equal salience on the agenda.
Variants§
Depth = 0
Newest activation first.
Breadth = 1
Oldest activation first.
Lex = 2
Ordered by the recency of the matched facts, as in OPS5 lex.
Mea = 3
Like Lex, but dominated by the first pattern’s recency.
Complexity = 4
Most specific rule, by number of comparisons, first.
Simplicity = 5
Least specific rule first.
Random = 6
Arbitrary but stable order.
Trait Implementations§
impl Copy for Strategy
impl Eq for Strategy
impl StructuralPartialEq for Strategy
Auto Trait Implementations§
impl Freeze for Strategy
impl RefUnwindSafe for Strategy
impl Send for Strategy
impl Sync for Strategy
impl Unpin for Strategy
impl UnsafeUnpin for Strategy
impl UnwindSafe for Strategy
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