Title :
The Improvement for Rete Algorithm
Author :
Xiao, Ding ; Tong, Yi ; Yang, Haitao ; Cao, Mudan
Author_Institution :
Beijing Key Lab. of Intell. Telecommun. Software & Multimedia, Beijing Univ. of Posts & Telecommun., Beijing, China
Abstract :
Rete algorithm is the most efficient forward inference algorithm, widely used in rule engine systems. The Rete algorithm can be divided into two parts: rule compilation and runtime execution. Rule compilation describes how the rules in the production memory generate an efficient discrimination network - Rete network, while runtime execution describes how the asserted facts propagate through the network and fire the rule execution. In the rule compilation part, this paper introduces ´or´ connective between conditions, then proposes an algorithm that interprets a single production containing multiple ´or´ connectives as the equivalent of multiple productions. In runtime execution part, a specific rule engine handles common objects as facts to provide easy integration, and this paper introduces the ´update´ primitive to update facts in the working memory of the rule engine and describes how to implement it through a shadow proxy mechanism.
Keywords :
inference mechanisms; pattern matching; Rete algorithm; forward inference algorithm; production memory; rule compilation; rule engine systems; shadow proxy mechanism; Engines; Inference algorithms; Information science; Laboratories; Pattern matching; Performance evaluation; Production; Runtime; Software algorithms; Testing;
Conference_Titel :
Information Science and Engineering (ICISE), 2009 1st International Conference on
Conference_Location :
Nanjing
Print_ISBN :
978-1-4244-4909-5
DOI :
10.1109/ICISE.2009.1221