DocumentCode :
887832
Title :
Optimizing real-time equational rule-based systems
Author :
Lee, Yun-Hong ; Cheng, Albert Mo Kim
Author_Institution :
Dept. of Comput. Sci., Houston Univ., TX, USA
Volume :
30
Issue :
2
fYear :
2004
fDate :
2/1/2004 12:00:00 AM
Firstpage :
112
Lastpage :
125
Abstract :
Analyzing and reducing the execution-time upper bound of real-time rule-based expert systems is a very important task because of the stringent timing constraints imposed on this class of systems. We present a new runtime optimization to reduce the execution-time upper bound of real-time rule-based expert systems. In order to determine rules to be evaluated at runtime, a predicate dependency list, which consists of a predicate, its active rule set and corresponding inactive rule set, is created for each predicate in a real-time rule-based program. Based on the predicate dependency list and the current value of each variable, the new runtime optimization dynamically selects rules to be evaluated at runtime. For the timing analysis of the proposed algorithm, we introduce a predicate-based rule dependency graph, a predicate-based enable-rule graph, and their construction algorithm. We also discuss the bounded time of the equational logic rule-based program using the predicate-based rule dependency graph as well as the predicate-based enable-rule graph. The implementation and performance evaluation of the proposed algorithm using both synthetic and practical real-time rule-base programs are also presented. The performance evaluation shows that the runtime optimizer reduces the number of rule evaluations and predicate evaluations as well as the response time upper bound significantly, and the new algorithm yields better execution-time upper bound compared to other optimization methods.
Keywords :
knowledge based systems; logic programming; optimisation; real-time systems; specification languages; EQL language; equational logic rule-based program; predicate based rule dependency graph; real-time rule based expert system; runtime optimization; Algorithm design and analysis; Equations; Expert systems; Knowledge based systems; Logic; Optimization methods; Real time systems; Runtime; Timing; Upper bound;
fLanguage :
English
Journal_Title :
Software Engineering, IEEE Transactions on
Publisher :
ieee
ISSN :
0098-5589
Type :
jour
DOI :
10.1109/TSE.2004.1265816
Filename :
1265816
Link To Document :
بازگشت