'How to remove an agent from a set of agents in netlogo
I have a group of hospitals that must treat the wounded, but the care depends on how close they are to the wounded, that is, the closest hospital must care for them, but if it is full, the next closest hospital must care for them, and so on. . For this, I created two sets of agents (injured and hospitals) and I gave the hospitals a property called nearby hospitals (which is a set of hospitals) so that the injured person eliminates from that set the hospitals that are close and are full.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
