A predicate matching algorithm for database rule systems
Authors:
Open Access
- 1 May 1990
- journal article
- Published by Association for Computing Machinery (ACM) in ACM SIGMOD Record
- Vol. 19 (2) , 271-280
Abstract
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.Keywords
This publication has 12 references indexed in Scilit:
- An initial report on the design of Ariel DBMS with an integrated production rule systemACM SIGMOD Record, 1989
- Expert systems for configuration at Digital: XCON and beyondCommunications of the ACM, 1989
- Hierarchical representations of collections of small rectanglesACM Computing Surveys, 1988
- The POSTGRES rule managerIEEE Transactions on Software Engineering, 1988
- The HiPAC project: combining active databases and timing constraintsACM SIGMOD Record, 1988
- R-trees1984
- Rete: A fast algorithm for the many pattern/many object pattern match problemArtificial Intelligence, 1982
- Access path selection in a relational database management system1979
- A dichromatic framework for balanced trees1978
- Symmetric binary B-Trees: Data structure and maintenance algorithmsActa Informatica, 1972