![]() |
The AHA Model
Revision: 17463
Reference implementation 04 (HEDG02_04)
|
Freeze is stop any locomotion completely. More...
Public Member Functions | |
| procedure, public | init => freeze_init_zero |
Initialise the freeze behaviour component to a zero state. Freeze is a special type of move to a zero distance. See the_behaviour::freeze_init_zero(). More... | |
| procedure, public | do_this => freeze_do_this |
Do freeze by this_agent (the actor agent). Subjective assessment of the motivational value for this is based on the number of food items, conspecifics and predators in the perception object. See the_behaviour::freeze_do_this(). More... | |
| procedure, public | expectancies_calculate => freeze_motivations_expect |
the_behaviour::freeze::motivations_expect() is a subroutine (re)calculating motivations from fake expected perceptions from the procedure freeze::do_this() => the_behaviour::freeze_do_this(). See the_behaviour:: freeze_motivations_expect(). More... | |
| procedure, public | execute => freeze_do_execute |
Execute this behaviour component "freeze" by this_agent agent. See the_behaviour::freeze_do_execute(). More... | |
Public Member Functions inherited from the_behaviour::move | |
| procedure(move_init_root), deferred, public | init |
The the_behaviour::move::init() is a deferred function that is overriden by each extension object init method. More... | |
Public Member Functions inherited from the_behaviour::behaviour_base | |
| procedure(behaviour_init_root), deferred, public | init |
| Abstract init function that has to be overriden by each object that extends the root behaviour component class. More... | |
| procedure, public | is_executed => behaviour_root_get_is_executed |
Get the execution status of the behaviour unit. See the_behaviour::behaviour_root_get_is_executed(). More... | |
| procedure, public | gos_expected => behaviour_root_gos_expectation |
gos_expected is an accessor get-function that returns the final GOS expectation from expectancies_calculate. Once we get this value for all the possible behaviours, we choose what behaviour to execute by minimising gos_expected. See the_behaviour::behaviour_root_gos_expectation(). More... | |
| procedure, public | attention_transfer => behaviour_root_attention_weights_transfer |
attention_transfer transfers attention weights from the actor agent to this behaviour expectancy objects. See the_behaviour::behaviour_root_attention_weights_transfer(). More... | |
Public Attributes | |
| real(srp) | expected_food_gain |
| The expected food gain (body mass increment) is always zero for freezing. Although energy costs are also zero. More... | |
| real(srp) | expected_pred_dir_risk |
| The expected direct predation risk is small and near-zero due to the function the_environment::predator::risk_fish() getting low values with is_freezing=TRUE. More... | |
| real(srp) | expected_predation_risk |
| The expected general predation risk, i.e. the risk depending on the current number of predators in both the perception and memory stack. The expected risk assumes that a freezing predator is not easily noticed by the roaming predators. So the subjective number of predators in the perception is zero in the predation_risk_backend() function. More... | |
Public Attributes inherited from the_behaviour::move | |
| real(srp) | distance |
| Movement is described by its absolute distance. More... | |
Public Attributes inherited from the_behaviour::behaviour_base | |
| logical | is_active |
| Logical flag indicating that this behaviour is activated (executed). More... | |
| type(motivation) | expectancy |
| Each behavioural type within the whole repertoire has expectancies that set how each of the GOS motivational components is affected by its execution. More... | |
| real(srp) | arousal_expected |
An expectation of the arousal level. It is the maximum weighted value among all motivation components. This value is actually minimised – those behaviour which would result in the lowest arousal_expected is finally executed. More... | |
Freeze is stop any locomotion completely.
Definition at line 214 of file m_behav.f90.
| procedure, public the_behaviour::freeze::init |
Initialise the freeze behaviour component to a zero state. Freeze is a special type of move to a zero distance. See the_behaviour::freeze_init_zero().
Definition at line 233 of file m_behav.f90.
| procedure, public the_behaviour::freeze::do_this |
Do freeze by this_agent (the actor agent). Subjective assessment of the motivational value for this is based on the number of food items, conspecifics and predators in the perception object. See the_behaviour::freeze_do_this().
Definition at line 238 of file m_behav.f90.
| procedure, public the_behaviour::freeze::expectancies_calculate |
the_behaviour::freeze::motivations_expect() is a subroutine (re)calculating motivations from fake expected perceptions from the procedure freeze::do_this() => the_behaviour::freeze_do_this(). See the_behaviour:: freeze_motivations_expect().
Definition at line 243 of file m_behav.f90.
| procedure, public the_behaviour::freeze::execute |
Execute this behaviour component "freeze" by this_agent agent. See the_behaviour::freeze_do_execute().
Definition at line 246 of file m_behav.f90.
| real(srp) the_behaviour::freeze::expected_food_gain |
The expected food gain (body mass increment) is always zero for freezing. Although energy costs are also zero.
Definition at line 217 of file m_behav.f90.
| real(srp) the_behaviour::freeze::expected_pred_dir_risk |
The expected direct predation risk is small and near-zero due to the function the_environment::predator::risk_fish() getting low values with is_freezing=TRUE.
Definition at line 221 of file m_behav.f90.
| real(srp) the_behaviour::freeze::expected_predation_risk |
The expected general predation risk, i.e. the risk depending on the current number of predators in both the perception and memory stack. The expected risk assumes that a freezing predator is not easily noticed by the roaming predators. So the subjective number of predators in the perception is zero in the predation_risk_backend() function.
Definition at line 228 of file m_behav.f90.