DEVS/C++ Reference Guide

Table of Contents

1 Introduction

2 Discrete Event Simulation

2.1 Modeling and Simulation
2.2 The Types of Mathematical Models
2.3 Discrete Event System

3 Formalism: Formal System Description
3.1 Parallel DEVS Formalism for Basic Models
3.2 DEVS Formalism for Coupled (Multi-component) Models

4 DEVS Environment
4.1 Container Library
4.2 Devs Library
4.3 Simulation Engine

5 Basic Models
5.1 Devs Model
5.2 Atomicbase and Atomic Models
5.3 Cellbase and Cell Models
5.4 Coupled Models5.4.1 Instance Variables
5.4.2 Convert_input()

6 Derived Classes of coupled class
6.1 Digraph Models6.1.1 Instance Variables
6.1.2 wrap_deltfunc Function
6.1.3 Output (compute_input_output) Function6.2 Block Models6.2.1 Instance Variables
6.2.2 Coupling method of the Block6.3 Digcell models
6.4 Comparison of digraph, block, and Digraphcell models

7 Hierarchical Dynamic Structure

8 Test Operations
8.1 Control Flow of DEVS
8.2 Initialize Operation
8.3 Inject Operation

9 Installation of DEVS-C++ in UNIX
9.1 Structure of Directories
9.2 How to run test models

Appendix

A1. Source code for Basic (atomic) model example
A2. Source code for GPT Test Programs
A3. Source code for Hierarchical Block Model Test Programs
A4. Source code for digraph cell (digcell) model

Hyup J. Cho and Young K. CHo
Artificial Intelligence and Simulation Research Group
Department of Electrical Computer Engineering
The University of Arizona
Copyright (C) The University of Arizona