• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2012, Vol. 34 ›› Issue (10): 64-67.

• 论文 • 上一篇    下一篇

一种基于多Agent的人群仿真多机并行平台研究

熊慕舟,骆文振   

  1. (中国地质大学(武汉)计算机学院,湖北 武汉 430074)
  • 收稿日期:2012-04-25 修回日期:2012-07-10 出版日期:2012-10-25 发布日期:2012-10-25

Research on Parallel Execution Platform for MultiAgentBased Crowd Simulation

XIONG Muzhou,LUO Wenzhen   

  1. (School of Computer Science,China University of Geosciences,Wuhan 430074,China)
  • Received:2012-04-25 Revised:2012-07-10 Online:2012-10-25 Published:2012-10-25

摘要:

本文提出了一种针对多Agent人群仿真模型的多机并行平台,该平台利用MPI作为节点间的通讯软件,采用主从模式设计多机并行执行环境。在主控节点中设置结果回收模块与监控模块,通过Kmeans算法保证执行节点之间的负载均衡,同时以此作为任务分发与调度的依据;在执行节点(从节点)中,则根据主控节点的任务调度执行相关Agent模型,并执行仿真同步与状态信息汇报等任务。实验结果表明,该多机并行平台能够执行基于多Agent的人群仿真模型,能有效地提高仿真的性能,同时具有良好的可扩展性。

关键词: 人群仿真, 多Agent模型, 并行平台, 高性能计算

Abstract:

This paper proposes a multiagent based parallel platform for simulating virtual crowds. It applies MPI as the communication software amongst nodes in masterslave mode. Using the kmeans algorithm, the master node ensures the load balance amongst slave nodes and distributes and schedules agent model execution tasks to slave modes. It also contains modules of simulation result retrieval and monitoring. Slave nodes execute agent model execution tasks according to the task distribution by the master node. It also reports status information to the master node and synchronizes the execution process with other slave nodes. Experimental results on the parallel platform indicate that it is able to apply various agentbased model to the platform with efficient execution cost and good scalability.

Key words: crowd simulation;multiagent model;parallel platform;high performance computing