【发布时间】:2014-09-17 07:14:25
【问题描述】:
我想在 main 中的参数 walkSpeed 中为我的所有代理定义速度,也就是速度。 如何从代理内部的“初始速度”设置中访问它?
documentation 推荐使用的“Main().walkingSpeed”不起作用:(
SetUp:
Main----------------------Patient
(has walkingSpeed) |-Nurse
|-Internist
|-Surgeon
2014-08-01 更新:使用 get_Main 也不起作用
【问题讨论】:
-
" 不工作“太好了,我知道现在问题出在哪里了...
-
感谢 James,详细的错误消息“未为 Internist 类型定义 Main() 方法。位置:Zana/Internist - Agent Type”
标签: java simulation anylogic