【发布时间】:2019-11-13 11:27:26
【问题描述】:
我已经使用上一篇文章中的方法成功地计算了坐标空间内的代理数量:
[difficult to find the current location of agents in Anylogic simulation
count(pedGoTo.getPeds(),p->p.getX()>279 && p.getX()<302 && p.getY()>332 && p.getY()<349)
但是,这种方法需要我输入坐标。我想计算我可以在模型周围移动的东西中的行人数量,比如矩形节点(过程建模库)或矩形区域(行人库)。有任何想法吗?谢谢!
【问题讨论】:
标签: anylogic