在 Netlogo 6 中 运行 StatsExample 时遇到错误

Encountered an error while running StatsExample in Netlogo 6

为了使用 STATS 扩展,我阅读了有关将文件夹放在哪里的信息,如下所述:

https://ccl.northwestern.edu/netlogo/docs/extensions.html

我下载了 Stats-Extension-1.4.0 并将包含所有 jar 文件和类似内容的扩展文件夹放在 NetLogo / app/ extension 文件夹中。当我想要 运行 STATSExample 时,它​​显示 "Netlogo encountered the following errors while trying to convert the model to the current version"。唯一的选择就是"open unconverted model",打开的时候报错"can't find extension :stats"。我的安装有什么问题?

谢谢,

根据the current documentation of the extension

Note that the latest version of this extension was compiled against NetLogo 5.0.5.

该扩展还没有升级到与 NetLogo 6 一起工作。

这样做很可能需要更改扩展代码,因为 the NetLogo extension API has changed for version 6

我会建议 opening an issue on the extension's GitHub repository

如果您确实需要在短期内使用统计扩展,您可以随时恢复到 NetLogo 5.x。

stats 扩展已更新以与 NetLogo 6.0 一起使用,并且添加了一组新的对数正态分布原语。扩展的新版本是 2.0.0,可在 GitHub、https://github.com/cstaelin/Stats-Extension/releases.

上使用

查尔斯