在任何logic 8中不支持dataupdater和ActiveObject类

发布于 2025-02-07 15:31:45 字数 406 浏览 1 评论 0原文

我想在大约10年前在Anylogic 6.6(版本)中开发的Anylogic中研究和定制基于代理的模型。

该模型以任何logic 8.7.12打开,但无法正确编译。由于 dataupdater() ActiveObject() 版本。该模型的作者说,在以前的版本中,它正常工作。

  1. 如何优化当前版本的代码以成功编译该模型?
  2. 以及如何解决有关方法更新(数据集)的第三个错误?

在此处输入图像描述

I want to study and customize agent-based model in AnyLogic which was developed about 10 years ago in AnyLogic 6.6 (version).

The model is opening in AnyLogic 8.7.12, but can not be compiled correctly. There are some errors occurring because of such classes as DataUpdater() and ActiveObject() are not available in this version. The author of the model said, that in previous version it worked correctly.

  1. How can I optimize the code for the current version to compile this model successfully?
  2. And how can I resolve the 3rd error about method update(DataSet)?

enter image description here

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

§普罗旺斯的薰衣草 2025-02-14 15:31:45

ActiveObject类型已被完全删除,现在被agent类型替换。

因此,您要么使用agent替换所有引用,要么完全删除它。

很难说,哪一个更容易/更快地取决于模型细节。

The ActiveObject type has been entirely removed and is now replaced with the Agent type.

So you either replace all references to it using Agent or remove it entirely.

Which one is easier/faster simply depends on the model details, hard to say.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文