Netlogo 在这里繁殖相当于代理集?

Netlogo 在这里繁殖相当于代理集?,netlogo,Netlogo,我想做一个代理集的补丁,有海龟只有一个特定的代理集。这对品种来说很容易,但对我来说,在代理网站上是行不通的 我所有的海龟都是同一品种 let moveAgents n-of (count turtles * 0.1) turtles let availablePlots patches with [any? moveAgents-here] ;does not work 只需反转搜索: let availablePlots patch-set [patch-here] of moveAgen

我想做一个代理集的补丁,有海龟只有一个特定的代理集。这对品种来说很容易,但对我来说,在代理网站上是行不通的

我所有的海龟都是同一品种

let moveAgents n-of (count turtles * 0.1) turtles
let availablePlots patches with [any? moveAgents-here]  ;does not work

只需反转搜索:

let availablePlots patch-set [patch-here] of moveAgents

是的,就是这样!谢谢