Global and Communicating State Machine Models in Event Driven B: A Simple Railway Case Study

  • Authors:
  • Antonis Papatsaras;Bill Stoddart

  • Affiliations:
  • -;-

  • Venue:
  • ZB '02 Proceedings of the 2nd International Conference of B and Z Users on Formal Specification and Development in Z and B
  • Year:
  • 2002

Quantified Score

Hi-index 0.00

Visualization

Abstract

We present a case study of a simple railway system to investigate and compare two ways of modelling a system in "event driven B". We are interested in the specification of a system as a global model as well as the formulation of a distributed state machine model where individual components exchange information by means of shared events. In this paper we investigate the issues of "parameter hiding" and "scaling" as well as the parameterisation of events of the communicating components of such systems. We use two methods for expressing a class of components; we either create indexed B machines that can be instantiated or we represent the state of all components within a given class by means of a function.