-
Notifications
You must be signed in to change notification settings - Fork 2
config behavioral file descriptions
The behaviors and attributes of the agents and of the simulation are described by the file in config/behavioral
. This page will describe what each file in this directory does and some attributes in it as an example.
This file is responsible for declaring conditional states that the simulation or the agent may have. For example, this file may declare when an agent is considered "at work" or when the simulation has the attribute "is evac"
This described who will have this condition, the agent or the simulation.
Name of the condition.
In order for the target to have this condition, an attribute must be checked (otherwise this condition would be a simple attribute). This parameter defines the attributed that will be checked.
There is special case, this attribute can be called random
, and in that case, the value to be checked is generated randomly
The comparison operator. [equal, not_equal, less_than, greate_than]
The value that the previously specified attribute will be compared to. This value can also be a pointer to another attribute, in this case, it should start with $
If the attribute parameter is random
, these fields will determine the interval of the random generator
The type of the elements to be compared.
Describes the possible professions, their workplaces and work hours, and the distribution of the agents that will have each profession.
Describes numerical attributes that the simulation or every agent will have.
Describes categorical attributes of the simulation or the agents. This means that each attribute will have one of the possible values described in this file
This file describes attributes that update each step of the simulation by a set amount. For example, the energy of each agent will decrease for each passing moment of its futile life until it sleeps and restores its energy.
Describes attributes that will only start existing after certain time. This is useful if you want to trigger an infection or evacuation only after some time has passed.
Please refer to the Action and Behaviors page.