On Maintaining Priorities in a Production Rule System

Loading...
Thumbnail Image

Files

TR_91-58.pdf (707.48 KB)
No. of downloads: 509

Publication or External Link

Date

1991

Advisor

Citation

DRUM DOI

Abstract

We present a priority system which is particularly suited for production rules coupled to databases. In this system, there are default priorities between all rules and overriding user-defined priorities between particular rules. Rule processing using this system is repeatable: for a given set of rules and priorities, the rules are considered for execution in the same order if the same set of transactions is executed twice on the same initial database state. The rule order adheres to the default order as closely as possible: rules are considered in the same order as the default order unless user-defined precedence constraints force an inversion.

We present data structures an efficient algorithms for implementing such a priority system. We show how the data structures can be incrementally maintained as user- defined priorities are altered. We also discuss how the proposed scheme can be extended to build a multi-level hierarchical priority system.

Notes

Rights