0
我对Netlogo相当陌生,并且在如何设置一个复杂的if语句时苦苦挣扎。该声明适用于海龟,条件是其他海龟生活在同一地区并拥有房屋。Netlogo if if with statement and other
我已经试过以下的迭代,但至今尚未成功:
if (one-of other turtles with [region = [region] of myself and house? = True]) []
if (other turtles with [region = [region] of myself and house? = True]) []
谢谢你的任何见解!
谢谢你,它的工作! – James