Skip to main content
Log in

Specification by interface separation

  • Published:
Formal Aspects of Computing

Abstract

In specifying an operation it is often advantageous to describe it with abstract inputs and outputs whose concrete representation is described separately. For example, it is often convenient to describe as a set, input which in practice occurs as a sequence. The primary advantage of this approach is that one can initially concentrate on specifying an operation without the representations of its interface (that is, its inputs and outputs) obscuring the more important concerns of its abstract functional properties. Interface representations can be tackled independently, after the abstract functionality has been decided. Such separation of an operation into an abstract core and its interface with its environment makes the task of specification simpler, aids clarity of the result, and encourages reuse of both the abstract operation and its interface descriptions.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. Hayes, I.: editor.Specification Case Studies. Prentice-Hall International, second edition, 1993.

  2. Jones, C.B.:Systematic Software Development Using VDM. Prentice Hall International, Englewood Cliffs, NJ, second edition, 1990.

    Google Scholar 

  3. Spivey, J.M.:The Z Notation: A Reference Manual. Prentice Hall International, second edition, 1992.

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

About this article

Cite this article

Hayes, I.J., Sanders, J.W. Specification by interface separation. Formal Aspects of Computing 7, 430–439 (1995). https://doi.org/10.1007/BF01211217

Download citation

  • Received:

  • Accepted:

  • Issue Date:

  • DOI: https://doi.org/10.1007/BF01211217

Keywords

Navigation