エラーメッセージが表示されました:
MEMBER? expected input to be a string or list or agentset but got the number 0 instead.
次の NetLogo コードの実行中:
to find-flockmates ;; turtle reporter
;; latch on to the nearby birds
set flockmates-infront other birds in-cone vision cone-infront-degree
set flockmates-sidewise other birds in-cone vision cone-sidewise-degree
;; agentset substraction
if (count flockmates-infront > 0)[
set flockmates-sidewise (flockmates-sidewise with [not member? self flockmates-infront])
]
end
誰かが私が間違っていること、または2つのエージェントセットの減算に対する別の可能な解決策を教えてもらえますか?