Method and system for sequential compilation and execution of rules
Abstract
Systems and methods for matching objects against a set of rules are described. The present invention is a novel rule execution algorithm that generally operates with greater efficiency than known algorithms. The algorithm uses a test analyzer to determine the relationships that exist between pairs of tests within a ruleset. Each rule is then translated into loops and tests, and merged into a unified series of loops and tests using the output of the test analyzer. The algorithm then generates pattern matching code corresponding to the unified series of loops and tests for evaluation by a virtual machine, and auxiliary code that provides object manipulations and rule actions at the service of the pattern matching code. In its runtime, the algorithm loads objects into the pattern matching code through an access interface. The pattern matching code is then executed by the virtual machine against the loaded objects.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 19 · Forward citations: 12.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method, within a computer hardware system, for processing a ruleset, the ruleset including a plurality of rules, each individual rule of the plurality of rules including a condition and a rule action responsive to the condition being met, each condition within an individual rule including a plurality of tests, the method comprising: identifying a plurality of relationships, each identified relationship is between a plurality of tests respectively associated with different conditions; translating, by the computer hardware system, each individual rule of the plurality of rules into a coded ser
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (12 of 12 total)
References Cited — Backward Prior Art (19)
Non-Patent Literature (3)
- Charles Forgy, Rete; A Fast Algorithm for the Many Pattern/Many Object Pattern Match Problem, Artificial Intelligence 19, 1982 at 17-37.
- ILOG; Selections from Online Documentation for ILOG JRules Software,v6.0 and v6.5, 2006 (47 pages).
- Marathe et al. "An Algorithm for Identification of Relations Among Rules", IEEE, 1989, pp. 360-367.