在任何logic 8中不支持dataupdater和ActiveObject类
我想在大约10年前在Anylogic 6.6(版本)中开发的Anylogic中研究和定制基于代理的模型。
该模型以任何logic 8.7.12打开,但无法正确编译。由于 dataupdater() 和 ActiveObject() 版本。该模型的作者说,在以前的版本中,它正常工作。
- 如何优化当前版本的代码以成功编译该模型?
- 以及如何解决有关方法更新(数据集)的第三个错误?
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.
- How can I optimize the code for the current version to compile this model successfully?
- And how can I resolve the 3rd error about method update(DataSet)?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
ActiveObject
类型已被完全删除,现在被agent
类型替换。因此,您要么使用
agent
替换所有引用,要么完全删除它。很难说,哪一个更容易/更快地取决于模型细节。
The
ActiveObject
type has been entirely removed and is now replaced with theAgent
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.