This paper focuses on the response time analysis problem: the problem of determining a priori the maximal response time or response time upper bound of a given program. We study this problem in the context of OPS5 production systems. The response time of a program is investigated in two respects: the maximal number of rule firings and the maximal number of basic comparisons made by the Rete network during the execution. The execution of a program always terminates in bounded time if this program satisfies one of certain conditions. The present four of these conditions for OPS5 production systems. An algorithm used to compute an upper bound on the number of rule firings is given. Furthermore, to have a better idea on the time required during the execution, we present an algorithm to compute the maximal time required during the match phase in terms of the number of comparisons made by the Rete network.<<ETX>>
[1]
Charles L. Forgy,et al.
Rete: a fast algorithm for the many pattern/many object pattern match problem
,
1991
.
[2]
Anoop Gupta,et al.
Run-Time Prediction for Production Systems
,
1992,
AAAI.
[3]
Jennifer Widom,et al.
Behavior of database production rules: termination, confluence, and observable determinism
,
1992,
SIGMOD '92.
[4]
Charles L. Forgy,et al.
Rete: A Fast Algorithm for the Many Patterns/Many Objects Match Problem
,
1982,
Artif. Intell..
[5]
Serge Abiteboul,et al.
Fundamental Properties of Deterministic and Nondeterministic Extensions of Datalog
,
1991,
Theor. Comput. Sci..
[6]
Franz Barachini,et al.
Frontiers in Run-Time Prediction for the Production-System Paradigm
,
1994,
AI Mag..