节点文献
面向对象的交通网络分布式仿真并行数据结构
Object-oriented Parallel Data Structure of Traffic Network Distributed Simulation
【摘要】 采用面向对象设计思想和交通并行仿真建模理论,对交通网络分布并行仿真系统数据结构进行分析。通过C++语言环境下类定义的方式建立交通网络各元素的对象,并分别对其成员变量与成员函数进行描述,准确表达交通网络节点与路段之间的关系。根据标准模板库函数建立交通网络仿真的共享并行数据结构,并利用SQL数据库技术进行并行数据结构的存取,以减少对内存资源的占用,方便各仿真单元对网络数据的同步访问。最后以24个交叉口组成的交通网络为例进行仿真,仿真结果表明,其速度提高了3.5倍。
【Abstract】 Idea of object-oriented design and modeling theory of traffic parallel simulation are adopted to analyze data-structure of distributed parallel simulation system for traffic network.By defining class,the paper establishes objects of traffic network elements under C++ language,describes variables and functions of their members,and exactly expresses the relationship between nodes and links in traffic network.It constructs shared parallel data-structure of traffic network simulation based on standard template library function,and uses SQL database technology to access parallel data-structure so that it can reduce occupation of memory resource.Each simulation unit can conveniently access network data.Finally,traffic network is simulated,which is made up of 24 intersections.The results indicates that simulation speed increases 3.5 times.Hence,object-oriented parallel data structure establishes foundation to improve speed and benefit of traffic network simulation.
【Key words】 object-oriented; traffic network; distributed simulation; parallel data structure;
- 【文献出处】 交通与计算机 ,Computer and Communications , 编辑部邮箱 ,2006年01期
- 【分类号】U491.123
- 【被引频次】13
- 【下载频次】253