The AHA Model  Revision: 12809
Reference implementation 04 (HEDG02_04)
the_behaviour::go_up_depth Type Reference

Go up raise to a smaller depth. TODO: abstract type linking both Up and Down. More...

Inheritance diagram for the_behaviour::go_up_depth:
Collaboration diagram for the_behaviour::go_up_depth:

Public Member Functions

procedure, public init => go_up_depth_init_zero
 Initialise the go up to a shallower spatial layer behaviour component to a zero state. See the_behaviour::go_up_depth_init_zero(). More...
 
procedure, public do_this => go_up_do_this
 do_this performs the agent's action without changing the agent or the environment. See the_behaviour::go_up_do_this(). More...
 
procedure, public expectancies_calculate => go_up_motivations_expect
 expectancies_calculate is a subroutine (re)calculating motivations from fake expected perceptions following from do_this. More...
 
procedure, public execute => go_up_do_execute
 Execute this behaviour component "go up" by this_agent agent. See the_behaviour::go_up_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) decrement_mass_cost
 The cost of the swimming downwards. Should be relatively low, much smaller than the cost of active locomotion to the same distance (in terms of the body length as set by condition_cost_swimming_burst()). This is because it is assumed to be based on the hydrodynamic (swimbladder) volume manipulation rather than active propulsion. More...
 
real(srp) expected_food_gain
 The expected food gain (body mass increment) from the food items deeper than the actor agent. This value is based on the number and average mass of food items below the agent's current horizon. More...
 
integer expected_consp_number
 The expected number of conspecifics at the layer below. This value is based on the number of conspecifics below the agent's current horizon. More...
 
real(srp) expected_predation_risk
 The expected predation risk at the layer below. This value is based on the number of predators below the agent's current horizon. 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(motivationexpectancy
 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...
 

Detailed Description

Go up raise to a smaller depth. TODO: abstract type linking both Up and Down.

Definition at line 433 of file m_behav.f90.

Member Function/Subroutine Documentation

◆ init()

procedure, public the_behaviour::go_up_depth::init

Initialise the go up to a shallower spatial layer behaviour component to a zero state. See the_behaviour::go_up_depth_init_zero().

Definition at line 454 of file m_behav.f90.

◆ do_this()

procedure, public the_behaviour::go_up_depth::do_this

do_this performs the agent's action without changing the agent or the environment. See the_behaviour::go_up_do_this().

Definition at line 458 of file m_behav.f90.

◆ expectancies_calculate()

procedure, public the_behaviour::go_up_depth::expectancies_calculate

expectancies_calculate is a subroutine (re)calculating motivations from fake expected perceptions following from do_this.

Note
Note that this is the computational engine to assess the expected GOS of the behaviour, it is called from within the base root behaviour class-bound polymorphic gos_expect. See the_behaviour::go_up_motivations_expect().

Definition at line 465 of file m_behav.f90.

◆ execute()

procedure, public the_behaviour::go_up_depth::execute

Execute this behaviour component "go up" by this_agent agent. See the_behaviour::go_up_do_execute().

Definition at line 468 of file m_behav.f90.

Member Data Documentation

◆ decrement_mass_cost

real(srp) the_behaviour::go_up_depth::decrement_mass_cost

The cost of the swimming downwards. Should be relatively low, much smaller than the cost of active locomotion to the same distance (in terms of the body length as set by condition_cost_swimming_burst()). This is because it is assumed to be based on the hydrodynamic (swimbladder) volume manipulation rather than active propulsion.

Definition at line 439 of file m_behav.f90.

◆ expected_food_gain

real(srp) the_behaviour::go_up_depth::expected_food_gain

The expected food gain (body mass increment) from the food items deeper than the actor agent. This value is based on the number and average mass of food items below the agent's current horizon.

Definition at line 443 of file m_behav.f90.

◆ expected_consp_number

integer the_behaviour::go_up_depth::expected_consp_number

The expected number of conspecifics at the layer below. This value is based on the number of conspecifics below the agent's current horizon.

Definition at line 446 of file m_behav.f90.

◆ expected_predation_risk

real(srp) the_behaviour::go_up_depth::expected_predation_risk

The expected predation risk at the layer below. This value is based on the number of predators below the agent's current horizon.

Definition at line 449 of file m_behav.f90.


The documentation for this type was generated from the following file: