Java可以写NetLogo仿真程序吗?

Is it possible to write NetLogo simulation programs in Java?

我正在尝试开发 NetLogo 模型(消费者研究),但我想更多地控制代理(海龟)是什么以及它们可以做什么,因此我想在 Java 中编写代码,导入 Java 个库,可能使用规则引擎等。这在 NetLogo 中可能吗?

如果没有,那么其他具有 Java 编程功能的代理建模框架是什么?

使用 Extensions API. With this API, you write your overall model in NetLogo, making calls into your Java-based routines as needed. (You cannot call a Java library directly from NetLogo code; rather, you write an extension that exposes the routines in that library as NetLogo primitives, and then you use those primitives in your model.) A look at the NetLogo extensions download page 的 NetLogo 是可能的应该会让您了解使用此 API.

可以实现的各种事情

另请参阅:Integrating NetLogo and Java : when should we think about this integration as a good option?

两个著名的基于代理的建模框架,您可以在 Java 中编写整个模型,它们是 Repast and MASON