Performance improvement tool for rule based expert systems
First Claim
1. A system for monitoring the performance of a rule-base application having rules and a working memory containing elements, each rule therein having a left-hand-side and a right-hand-side, comprising:
- a timer for accumulating match time caused by executing rule right-hand-sides;
a first counter for counting working memory operations performed for each class of elements in the working memory;
a second counter for counting the number of times each condition test is performed, and separately counting the number of times each condition test is successful;
a third counter for counting the number of working memory element combinations which satisfy a pattern each time that pattern is matched; and
means for storing information generated by said counters and said timer into a database.
1 Assignment
0 Petitions
Accused Products
Abstract
A monitoring system monitors an expert system application while such application executes for a period of time. The monitoring system records selected performance data relative to the operating efficiency of the expert system, and writes such data into a database for later use. After a test run of the expert system is completed, the monitoring system can select a small number of candidate rules for revision by a user, and display data to the user which allows the user to determine what types of changes need to be made to the candidate rules and to the working memory data organization.
68 Citations
10 Claims
-
1. A system for monitoring the performance of a rule-base application having rules and a working memory containing elements, each rule therein having a left-hand-side and a right-hand-side, comprising:
-
a timer for accumulating match time caused by executing rule right-hand-sides; a first counter for counting working memory operations performed for each class of elements in the working memory; a second counter for counting the number of times each condition test is performed, and separately counting the number of times each condition test is successful; a third counter for counting the number of working memory element combinations which satisfy a pattern each time that pattern is matched; and means for storing information generated by said counters and said timer into a database. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A method for providing information on causes of performance inefficiences of a rule-based expert system, comprising the steps of:
-
accessing performance data about the expert system generated during operation of the expert system; processing the accessed performance data to determine a culprit rule which caused a relatively large amount of time to be consumed in matching cycles as a result of executing its right-hand-side; selecting working memory classes affected by execution of the culprit right-hand-side; and selecting as suspect rules all rules having left-hand-sides affected by changes in the selected working memory classes; and
displaying performance data for the suspect rules. - View Dependent Claims (8, 9, 10)
-
-
7. A method for monitoring the performance of a rule-based application, comprising the steps of:
-
accumulating match times caused by executing rule right-hand-sides; counting working memory operations performed for each class of elements in a working memory; counting how often each condition test in a rule left-hand-side is performed; counting how often each condition test is successfully performed; counting how many working memory elements satisfy a pattern in a rule left-hand-side when such pattern is matched; and storing information generated by such accumulating and counting steps into a database.
-
Specification