Using X-machines to model and test discrete event simulation programs

E. Kehris, G. Eleftherakis, P. Kefalas

Research output: Chapter in Book/Report/Conference proceedingChapter

17 Scopus citations

Abstract

Simulation is a powerful technique for the study of real-life complex problems. Simulation requires the development of a program, which mimics the problem under consideration. The simulation program development follows closely the software engineering process. Although, many techniques for modelling problems have been proposed, the testing phase of the developed programs has been under-discussed. In this paper, we introduce an alternative framework for modelling and simulation, which will facilitate the phases of the conceptual modelling and the verification of the software. X-machines is a formal technique which extends the Finite State Machines by introducing memory attached to the machine and functions that operate on input symbols and memory values. This is shown to be a powerful model, subsuming other well-known models, since not only the specification of a problem is done in an intuitive manner but also because the method is used to prove that the implementation is correct with respect to the specification. A simple example is thoroughly investigated in terms of modelling and testing by employing the X-machine formal methodology. A complete set of test-cases is generated and applied in the code which is written in a conventional programming language. It is demonstrated that faults are found in the implementation by comparing the output sequences to those intended by the specification. Finally, a discussion is made in order to propose further course of research in this area, which would add the necessary characteristics in the X-machine theory in order to serve modelling and simulation development to its full extent.

Original languageEnglish (US)
Title of host publicationSystem and Control
Subtitle of host publicationTheory and Applications
PublisherWorld Scientific and Engineering Academy and Society
Pages163-168
Number of pages6
ISBN (Print)9608052114
StatePublished - 2000

All Science Journal Classification (ASJC) codes

  • General Engineering

Fingerprint

Dive into the research topics of 'Using X-machines to model and test discrete event simulation programs'. Together they form a unique fingerprint.

Cite this