摘要
面向对象仿真方法是当前仿真技术发展的一个重要方面,在仿真系统运行时,其中的各个对象之间存在大量的数据交换,如果直接在各对象之间进行数据复制则需要耗费大量系统资源。设计模式是面向对象技术的“刀刃”部分,通过运用模式对对象间的通信功能进行分析,以开发的“通信对抗仿真系统”为例,使用通信端口降低了通信仿真的具体算法和仿真对象间通信功能的耦合度,使仿真对象无须关心通信实现的具体细节,为各对象间的数据传输提供了透明、高效的内存管理机制。
Object - Oriented Simulation (OOS) is an important development trend in the current simulation community. Objects have plentiful data exchange when simulation system is running. It must use much system resources if objects directly copy data among themselves. Design patterns are part of the cutting edge of object - oriented technology. Communication function among objects is analyzed by patterns. The method is used to develop communication countermeasure simulation system. Communication ports are used to decouple the concrete communication simulation arithmetic and communication among simulation objects. The design provides transparent and effective memory management mechanism for data transmission among objects.
出处
《计算机仿真》
CSCD
2005年第10期15-19,共5页
Computer Simulation
关键词
设计模式
面向对象
通信仿真
内存管理
Design patterns
Object - oriented
Communication simulation
Memory management