I have two agents. Are there any functions to find:
- Agent agents that are present in both (intersection)
- Agent agents that are present in one and not the other
I find it very difficult to implement this manually, especially when it is necessary inside the triple ask
Ideal use would be similar to with syntax:
let cross set1 and-in set2 let uniq set1 with [color = red] not-in set2
Simple things like "Is Agent A in Agent X?" are problematic
intersection netlogo
Mikhail
source share