Object-oriented simulation—Ada, C++, Simula

  • Authors:
  • Brian W. Unger

  • Affiliations:
  • Dept. of Computer Science, University of Calgary, Calgary, Alberta, Canada T2N 1N4

  • Venue:
  • WSC '86 Proceedings of the 18th conference on Winter simulation
  • Year:
  • 1986

Quantified Score

Hi-index 0.00

Visualization

Abstract

The object oriented design of simulations is based on the concept of abstract data types. An early mechanism for defining abstract types was incorporated in the Simula Language. Constructs were also included in Ada that support this view. C++ is a general purpose programming language in which facilities for defining abstract types have been added to the C language.An abstract type can be defined as a data structure and a set of operations on instances of that structure. The simplest example is the integer. An integer may be represented by a data structure which consists of a sequence of zeros and ones which are interpreted as in ones complement arithmetic. The operations on instances of type integer, i.e., integers, are the integer :=, +, -, *, and /. Thus, the integer abstract type has an underlying data structure which is used to represent instances of type integer, and it has a set of operations defined for instances of type integer.