Netlogo two agentsets operations?

For the first one you use the turtle-set primitive. For the second one you need the member? Primitive, which also works on agentsets.As such.

For the first one you use the turtle-set primitive. For the second one you need the member? Primitive, which also works on agentsets.As such: to setup ca create-turtles 10 set color red create-turtles 10 set color blue let red-ones turtles with color = red let blue-ones turtles with color = blue ;join 2 agent sets let joinset (turtle-set red-ones blue-ones) show joinset let even-ones (turtles with who mod 2 = 0) ;subtract even-ones from red-ones let subtractset red-ones with not member?

Self even-ones show subtractset end.

I didn't realize that with can receive a "reporter". My first question was to find an intersection, not a union, but seeing your answer for the second question I'm guessing it would be as simple as red-ones with member? Self even-ones.

Thank you! – Mikhail Dec 8 at 14:10.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions