agentsoz / ees

Emergency Evacuation Simulator
MIT License
9 stars 6 forks source link

Add BDI config section in EES xml #17

Closed dhixsingh closed 6 years ago

dhixsingh commented 6 years ago

From @dhixsingh on February 5, 2018 23:29

There are various behavioural aspects of BDI agents that users would likely want to configure. These are currently done in the jill config at the moment, such as in:

https://github.com/agentsoz/bdi-abm-integration/blob/27e7718a37ff4a2a58b1afcc2f4ba835da04cbbf/examples/bushfire/src/test/java/io/github/agentsoz/ees/Maldon100WithEmergencyVehiclesTest.java#L38

Ideally, this should all be part of the main config. So something like this might be better:

<bdiconfig>
  <agent>
    <class>...</class>
    <args>...</args>
  </agent>
</bdiconfig>

Attributes of individual agents would be specified directly in the MATSim population file (see #13).

Copied from original issue: agentsoz/bdi-abm-integration#18

dhixsingh commented 6 years ago

Available at least since 3f064f5. Example BDI configuration is here:

https://github.com/agentsoz/ees/blob/3f064f5ed231485729005c37b511cc9e2fa844bb/scenarios/surf-coast-shire/population-subgroups/ees.xml#L44-L57

Agent specific configuration is done directly through the MATSim population file, for instance: https://github.com/agentsoz/ees/blob/3f064f5ed231485729005c37b511cc9e2fa844bb/scenarios/surf-coast-shire/population-subgroups-sample/scenario_matsim_plans.xml#L37-L56