Questions tagged [agentset]

32 questions
0
votes
2 answers

netlogo mutually exclusive agentsets simultaneously

I have 300 workers, and want to divide them into 3 sets of 100 (for now, eventually I will divide them perhaps unequally) based on two rankings. I have written variations to accomplish the following: Select the top 100 on X, assign value 1 to…
SLuke
  • 115
  • 5
-1
votes
1 answer

Selecting patch from an agentset with highest value in netlogo

I have an agent set named "open patches", which I found using the following, in which "number_open_patches" is a specific radius depending on "length": `ask turtles [' let my_patch self set number_open_patches ((50 * (length ^ 2)) / 100) /…
P_Grace
  • 107
  • 1
  • 7
1 2
3