SelfCatThreatModel
This class models how agents react to a perceived threat (e.g., a loud bang) while considering the
self-categorization theory ("reicher-2010").
Please, note:
- A Threat has a loudness and a radius.
- We use the self-categorization theory to divide the agents into in- and out-group members.
In-group members imitate the behavior of other in-group members. Out-group members ignore the
behavior of in-group members.
Implement following behavior:
- If agent A is within the threat radius, escape (i.e., first maximize distance to the threat and then
go to a safe zone).
- If agent A is outside threat radius, check if "searchRadius" contains an escaping in-group member.
If yes, escape also. Otherwise, go to original target.
- Out-group members use the locomotion layer to go to a target (i.e., keep their original behavior).
---
Field: lastSimTimeInSec [double]
---
---
Field: domain [Domain]
---
---
Field: attributesLocomotion [AttributesOSM]
---
---
---
---
---
Field: BINOMIAL_DISTRIBUTION_SUCCESS_VALUE [int]
---
---
Field: models [Model>]
---
Field: random [Random]
---
Field: logger [Logger]
---