Title :
Response time analysis of OPS5 production systems
Author :
Cheng, Albert Mo Kim ; Chen, Jeng-Rung
Author_Institution :
Dept. of Comput. Sci., Houston Univ., TX, USA
Abstract :
The paper focuses on the problem of determining a priori the maximal response time of rule based programs. The response time analysis problem is an important problem, especially for real time systems. We study this problem in the context of OPS5 production systems. Two aspects of the response time of a program are investigated, the maximal number of rule firings and the maximal number of basic comparisons made by the Rete network during the execution of the program. The response time analysis problem is in general undecidable. However, a program terminates in a finite time if the rule triggering pattern of this program satisfies certain conditions. We present four such termination conditions for OPS5 production systems. An algorithm for computing an upper bound on the number of rule firings is then given. To have a better idea of the time required during execution, we present an algorithm that computes the maximal time required during the match phase in terms of the number of comparisons made by the Rete network. This measurement is sufficient since the match phase consumes about 90 percent of the execution time
Keywords :
decision support systems; knowledge based systems; logic programming; program verification; system monitoring; OPS5 production systems; Rete network; computer aided software engineering; match phase; maximal number; maximal response time; maximal time; real time decision systems; real time systems; response time analysis; rule based programs; rule firings; rule triggering pattern; static analysis; termination conditions; undecidable problem; verification; Computer networks; Delay; Expert systems; Phase measurement; Production systems; Real time systems; Software engineering; Time factors; Time measurement; Upper bound;
Journal_Title :
Knowledge and Data Engineering, IEEE Transactions on