Title :
Response time analysis of EQL real-time rule-based systems
Author :
Chen, Jeng-Rung ; Cheng, Albert Mo Kim
Author_Institution :
Dept. of Comput. Sci., Houston Univ., TX, USA
fDate :
2/1/1995 12:00:00 AM
Abstract :
Real-time rule-based expert systems are embedded decision systems that must respond to changes in the environments within stringent timing constraints. Given a program p, the response time analysis problem is to determine the response time of p. This problem consists of: determining whether or not the execution of p always terminates in bounded time; and computing the maximal execution time of p. The Equational Logic (EQL) language is a simple language designed for real-time applications. It has been proved by A.K. Mok (1989) that the response time analysis problem is undecidable if the program variables have infinite domains, and is PSPACE-hard in the case where all of the variables have finite domains. However, we have observed that the use of a simple syntactic and semantic check on programs coupled with other techniques such as state space graph checks can dramatically reduce the time needed in the analysis. There are sets of syntactic and semantic constraint assertions such that if the set S of rules satisfies any of them, then the execution of S always terminates in bounded time. Each of these sets of syntactic and semantic constraint assertions is called a Special Form. The focus of the paper is on proving the existence of two Special Forms and determining tight response time upper bounds of EQL rule-based programs. For each known Special Form, an algorithm used to calculate the maximal response time of programs satisfying this Special Form is presented. Additionally, to enhance the applicability of the proposed algorithms, we show how the General Analysis Algorithm can be used with these algorithms
Keywords :
computational complexity; decidability; decision support systems; expert systems; logic programming languages; program verification; real-time systems; EQL real-time rule-based systems; EQL rule-based programs; Equational Logic language; General Analysis Algorithm; PSPACE-hard; Special Form; bounded time; computer aided software engineering; embedded decision systems; infinite domains; maximal execution time; maximal response time; real-time applications; real-time rule-based expert systems; response time analysis; semantic check; semantic constraint assertions; state space graph checks; stringent timing constraints; tight response time upper bounds; undecidable; verification; Algorithm design and analysis; Delay; Equations; Expert systems; Knowledge based systems; Logic design; Real time systems; State-space methods; Timing; Upper bound;
Journal_Title :
Knowledge and Data Engineering, IEEE Transactions on