A CLASS LIBRARY FOR DISCRETE-EVENT SIMULATION IN C++

被引:0
作者
BONVIK, AM [1 ]
机构
[1] NORWEGIAN DEF RES ESTAB,DIV SYST ANAL,N-2007 KJELLER,NORWAY
来源
TRANSACTIONS OF THE SOCIETY FOR COMPUTER SIMULATION | 1994年 / 11卷 / 02期
关键词
DISCRETE EVENT SIMULATION; PROCESS-ORIENTED SIMULATION; OBJECT-ORIENTED PROGRAMMING; COROUTINE-STYLE PROGRAMMING; C++ PROGRAMMING LANGUAGE;
D O I
暂无
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
A process-oriented simulation library has been developed in the object-oriented programming language C++. This language is very suitable for development of large simulation models and experimentation with simulation facilities. Features of the library include compile time type checking for absolute and relative time variables, a very flexible mechanism for generating event traces, and a general interrupt facility for simple communication between processes. The library is more expressive than Simula or the C++ coroutine library, and is approximately as sophisticated as DEMOS. The processes in the library are based on a general coroutine class, and the implementation of this class, which is hardware dependent, is discussed. A number of examples using the library are presented, partly based on use of this library in a major simulation project in a military command and control context. The library is is easily extensible because of the flexibility of C++ and the modular design of the library itself.
引用
收藏
页码:93 / 131
页数:39
相关论文
共 23 条
[1]  
BENTLEY JL, 1991, UNIX REV, V9, P38
[2]  
BIRTWISTLE GM, 1979, DISCRETE EVENT MODEL
[3]  
BURNS A, 1985, CONCURRENT PROGRAMMI
[4]  
DAHL OJ, 1970, NCC PUBLICATION S, V52
[5]  
DAHL OJ, 1968, PROGRAMMING LANGUAGE
[6]  
DIJKSTRA E, 1968, PROGRAMMING LANGUAGE
[7]  
DIJKSTRA EW, 1972, OPERATING SYSTEM TEC
[8]   APPLYING THE OBJECT-ORIENTED PARADIGM TO DISCRETE EVENT SIMULATIONS USING THE C++ LANGUAGE [J].
ELDREDGE, DL ;
MCGREGOR, JD ;
SUMMERS, MK .
SIMULATION, 1990, 54 (02) :83-91
[9]  
ELLIS MA, 1990, ANNOTATED C PLUS PLU
[10]  
HANSEN TL, 1990, C PLUS PLUS ANSWER B