0

我想实现多代理系统,需要在 2 个代理之间交换数据。所以我希望 agent1 向 agent2 发送一些数据。

根据我的研究,在java中,可以用来代理类并使用puto2aobject方法将数据传输到同一平台的另一个代理。但我不知道该怎么做。

如何使用代理类以及应该使用哪种行为。那么,如果我想用jade编程,如何在两个Agent之间交换数据呢?

有人可以帮助我吗?

谢谢。

4

1 回答 1

0

MultiAgent System (MAS) is considered a new programming paradigm. There are many languages and platforms, several of them were build over Java. Sometimes you can find Java in your research but it is completely different, Java is an Object Oriented Language.

So, if you want to implement Agents, I suggest you to look for the most popular MAS frameworks, according to Kravari2015 the top ones are: Jason, JADE, Jadex and NetLogo.

If you prefer to code in Java, JADE or Jadex could be a way to start since they are, let's say, Java code over MAS concepts. In the other hand, Jason uses an special language for agents, which is called AgentSpeak. Netlogo also uses an specific language called Logo, is very used to build simulations.

于 2018-04-21T20:00:31.323 回答