rust-rule-engine 1.0.2-alpha

A high-performance rule engine for Rust with RETE-UL algorithm (2-24x faster), CLIPS-inspired features (Template System, Defglobal, Deffacts, Test CE, Conflict Resolution), Parallel Execution
Documentation
1
2
3
4
5
6
7
8
9
10
11
//! Memory for RETE nodes

#[derive(Debug, Clone)]
pub struct AlphaMemory {
    pub matches: Vec<(String, String)>,
}

#[derive(Debug, Clone)]
pub struct BetaMemory {
    pub partial_matches: Vec<Vec<(String, String)>>,
}