Published online by Cambridge University Press: 03 February 2010
Aims
The aim of this chapter is to show how unordered collections of values can be modelled as sets. The set type constructor and set operators in VDMSL are introduced via an example of a safety-related system. On completion of this chapter, the reader should be confident in the use of sets and the associated operators in models of systems involving collections of values.
Introduction
This is the first of three chapters that describe ways of modelling collections of data values. The three collection types covered (sets, sequences and mappings) describe progressively more structured collections. For each collection type, we will show how collections may be expressed
A formal model of a computing system should be sufficiently abstract to model the system properties of interest, and not so concrete that a great deal of irrelevant detail has to be tackled in order to understand or analyse the model. Modelling languages such as VDM-SL contain a number of features supporting such abstraction. One of the most fundamental is the facility to model sets of values without being concerned about the order in which they are stored.
To save this book to your Kindle, first ensure [email protected] is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.
Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.
Find out more about the Kindle Personal Document Service.
To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.
To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.