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

Approach conspecifics is directed movement towards a conspecific. More...

Inheritance diagram for the_behaviour::approach_conspec:
Collaboration diagram for the_behaviour::approach_conspec:

Public Member Functions

procedure, public init => approach_conspecifics_init_zero
 Initialise the approach conspecific behaviour to a zero state. Approach conspecific is a special extension of the generic the_behaviour::approach behaviour. See the_behaviour::approach_conspecifics_init_zero(). More...
 
procedure, public do_this => approach_conspecifics_do_this
 The "do" procedure component of the behaviour element performs the behaviour without affecting the actor agent (the_agent) and the world which have intent(in), so it only can change the internal representation of the behaviour (the type to which this procedure is bound to, here APPROACH_CONSPES). See the_behaviour::approach_conspecifics_do_this(). More...
 
procedure, public expectancies_calculate => approach_conspecifics_motivations_expect
 the_behaviour::approach_conspec::expectancies_calculate() (re)calculates motivations from fake expected perceptions following from the procedure approach_conspec::do_this(). See the_behaviour::approach_conspecifics_motivations_expect(). More...
 
- Public Member Functions inherited from the_behaviour::approach
procedure, public init => approach_spatial_object_init_zero
 Initialise the approach behaviour component to a zero state. Approach is a generic type but not abstract. See the_behaviour::approach_spatial_object_init_zero(). More...
 
procedure, public do_this => approach_do_this
 The "do" procedure component of the behaviour element performs the behaviour without affecting the actor agent (the_agent) and the world which have intent(in), so it only can change the internal representation of the behaviour (the type to which this procedure is bound to, here the_environment::approach). See the_behaviour::approach_do_this(). More...
 
procedure, public expectancies_calculate => approach_motivations_expect
 the_behaviour::approach::expectancies_calculate() (re)calculates motivations from fake expected perceptions following from the procedure approach::do_this() => the_behaviour::approach_do_this(). See the_behaviour::approach_motivations_expect(). More...
 
procedure, public execute => approach_do_execute
 Execute this behaviour component "approach" by this_agent agent. See the_behaviour::approach_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 null for active escape. More...
 
real(srp) expected_pred_dir_risk
 The expected direct predation risk, from the nearest predator. 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. More...
 
- Public Attributes inherited from the_behaviour::approach
real(srp) expected_cost_moving
 The body mass cost of movement; depends on the distance. 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

Approach conspecifics is directed movement towards a conspecific.

Note
The execute method for the_behaviour::approach_conspec uses the base class the_behaviour::approach::execute() method.

Definition at line 323 of file m_behav.f90.

Member Function/Subroutine Documentation

◆ init()

procedure, public the_behaviour::approach_conspec::init

Initialise the approach conspecific behaviour to a zero state. Approach conspecific is a special extension of the generic the_behaviour::approach behaviour. See the_behaviour::approach_conspecifics_init_zero().

Definition at line 337 of file m_behav.f90.

◆ do_this()

procedure, public the_behaviour::approach_conspec::do_this

The "do" procedure component of the behaviour element performs the behaviour without affecting the actor agent (the_agent) and the world which have intent(in), so it only can change the internal representation of the behaviour (the type to which this procedure is bound to, here APPROACH_CONSPES). See the_behaviour::approach_conspecifics_do_this().

Definition at line 344 of file m_behav.f90.

◆ expectancies_calculate()

procedure, public the_behaviour::approach_conspec::expectancies_calculate

the_behaviour::approach_conspec::expectancies_calculate() (re)calculates motivations from fake expected perceptions following from the procedure approach_conspec::do_this(). See the_behaviour::approach_conspecifics_motivations_expect().

Definition at line 349 of file m_behav.f90.

Member Data Documentation

◆ expected_food_gain

real(srp) the_behaviour::approach_conspec::expected_food_gain

The expected food gain (body mass increment) is always null for active escape.

Definition at line 326 of file m_behav.f90.

◆ expected_pred_dir_risk

real(srp) the_behaviour::approach_conspec::expected_pred_dir_risk

The expected direct predation risk, from the nearest predator.

Definition at line 328 of file m_behav.f90.

◆ expected_predation_risk

real(srp) the_behaviour::approach_conspec::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.

Definition at line 331 of file m_behav.f90.


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