Closed dhixsingh closed 6 years ago
Zone based messaging has been working for a while and at least since 3f064f5 there is a dedicated test SurfCoastShirePopulationSubgroupsIT
for zone based staged evacuation.
Note that there is no query_percept for this, but it is done through the interaction betwen the disruption and MATSim models. The code (in MATSimModel.java
) can easily be refactored and made available through the query_percept interface if required, but am closing for now as there is no immediate need for that.
From @dhixsingh on April 17, 2018 22:41
The query_percept should allow the BDI system to query MATSim for a list of all agents that are located within a given polygon area. The use case is to allow messages to be sent to agents within a arbitrary polygon area (see #31).
Add a test that demonstrates a staged evacuation, such that the
Fire Alert
message is sent to two groups of agents (split into two arbitrary rectangular areas) at different times.Copied from original issue: agentsoz/bdi-abm-integration#32