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