Modeling Component Environments and Interactive Programs Using Iterative Choice
R. J. R. Back, Anna Mikhajlova, Joakim Wright · 1998
The unifying ground for component-based systems and interactive programs is the interaction between the user and the system or between a component and its environment. Modeling both kinds of systems in a formal framework appears to be critical for reasoning about the systems' reliability and correctness. A mathematical foundation, based on the idea of contracts, permits this kind of reasoning. In this paper we study the iterative choice statement which models an event loop allowing the user to repeatedly choose from a number of actions an alternative which is enabled and have it executed. We study the properties of this statement and demonstrate its modeling capabilities by specifying an interactive dialog box, and a component environment which describes all actions the environment can take on a component. Keywords: Modeling, component-based systems, interactive programs, contracts, angelic iteration, iterative choice, correctness, refinement TUCS Research Group Programming Methodolog...
Cited by 5 works.