1

我对基于代理的模型有疑问。

我建立了两个代理。一个有状态图。我希望状态图能够由其他代理通过发送消息或其他方式工作..

我该怎么办?

4

2 回答 2

1

Check out the AnyLogic Help topic named "Communication between agents". This will show you how to send messages back and forth between Agents. Then read the topic named "Message Triggered Transition". This will show you how to move between states using messages. Essentially, you make your state chart, change whatever transitions you need to Message Transitions so that they will respond to messages, and then you use send(...) to send messages to the Agent that has the relevant state chart. Good luck!

于 2015-01-12T15:43:17.917 回答
0

Anylogic 帮助和文档提供了如何操作的指南。http://www.anylogic.com/anylogic/help/index.jsp?topic=/com.xj.anylogic.help/html/agentbased/Communication.html

于 2015-01-30T13:21:02.027 回答