Skip to main content Accessibility help
×
Hostname: page-component-78c5997874-lj6df Total loading time: 0 Render date: 2024-11-09T23:49:30.578Z Has data issue: false hasContentIssue false

6 - Sets

Published online by Cambridge University Press:  03 February 2010

John Fitzgerald
Affiliation:
University of Newcastle upon Tyne
Peter Gorm Larsen
Affiliation:
Engineering College of Århus, Denmark
Get access

Summary

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.

Type
Chapter
Information
Modelling Systems
Practical Tools and Techniques in Software Development
, pp. 99 - 120
Publisher: Cambridge University Press
Print publication year: 2009

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Save book to Kindle

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.

  • Sets
  • John Fitzgerald, University of Newcastle upon Tyne, Peter Gorm Larsen, Engineering College of Århus, Denmark
  • Book: Modelling Systems
  • Online publication: 03 February 2010
  • Chapter DOI: https://doi.org/10.1017/CBO9780511626975.008
Available formats
×

Save book 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 Dropbox.

  • Sets
  • John Fitzgerald, University of Newcastle upon Tyne, Peter Gorm Larsen, Engineering College of Århus, Denmark
  • Book: Modelling Systems
  • Online publication: 03 February 2010
  • Chapter DOI: https://doi.org/10.1017/CBO9780511626975.008
Available formats
×

Save book to Google Drive

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.

  • Sets
  • John Fitzgerald, University of Newcastle upon Tyne, Peter Gorm Larsen, Engineering College of Århus, Denmark
  • Book: Modelling Systems
  • Online publication: 03 February 2010
  • Chapter DOI: https://doi.org/10.1017/CBO9780511626975.008
Available formats
×