A predicate matching algorithm for database rule systems
Eric N. Hanson, Moez Chaabouni, Chang‐Ho Kim et al. · Proceedings - ACM-SIGMOD International Conference on Management of Data · 1990
Forward-chaining rule systems must test each newly asserted fact against a collection of predicates to find those rules that match the fact. Expert system rule engines use a simple combination of hashing and sequential search for this matching. We introduce an algorithm for finding the matching predicates that is more efficient than the standard algorithm when the number of predicates is large. We focus on equality and inequality predicates on totally ordered domains. This algorithm is well-suited for database rule systems, where predicate-testing speed is critical. A key component of the algorithm is the interval binary search tree (IBS-tree). The IBS-tree is designed to allow efficient retrieval of all intervals (e.g. range predicates) that overlap a point, while allowing dynamic insertion and deletion of intervals. The algorithm could also be used to improve the performance of forward-chaining inference engines for large expert systems applications.
Cited by 113 works. doi:10.1145/93597.98736
Authors
References
- R-trees
- The design and analysis of spatial data structures
- Data Structures and Network Algorithms
- Access path selection in a relational database management system
- Rete: A fast algorithm for the many pattern/many object pattern match problem
- A dichromatic framework for balanced trees
- Symmetric binary B-Trees: Data structure and maintenance algorithms
- The HiPAC project: combining active databases and timing constraints
- Expert systems for configuration at Digital: XCON and beyond
- The POSTGRES rule manager