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

Root behaviour abstract type. Several different discrete behaviours encompass the behavioural repertoire of the agent. This is the base root type from which all other behaviours are obtained by inheritance/extension. More...

Inheritance diagram for the_behaviour::behaviour_base:
Collaboration diagram for the_behaviour::behaviour_base:

Public Member Functions

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

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...
 

Private Attributes

character(len=label_length), private label
 Label for the behaviour type. More...
 

Detailed Description

Root behaviour abstract type. Several different discrete behaviours encompass the behavioural repertoire of the agent. This is the base root type from which all other behaviours are obtained by inheritance/extension.

Definition at line 36 of file m_behav.f90.

Member Function/Subroutine Documentation

◆ init()

procedure(behaviour_init_root), deferred, public the_behaviour::behaviour_base::init

Abstract init function that has to be overriden by each object that extends the root behaviour component class.

Definition at line 54 of file m_behav.f90.

◆ is_executed()

procedure, public the_behaviour::behaviour_base::is_executed

Get the execution status of the behaviour unit. See the_behaviour::behaviour_root_get_is_executed().

Definition at line 57 of file m_behav.f90.

◆ gos_expected()

procedure, public the_behaviour::behaviour_base::gos_expected

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().

Definition at line 63 of file m_behav.f90.

◆ attention_transfer()

procedure, public the_behaviour::behaviour_base::attention_transfer

attention_transfer transfers attention weights from the actor agent to this behaviour expectancy objects. See the_behaviour::behaviour_root_attention_weights_transfer().

Definition at line 67 of file m_behav.f90.

Member Data Documentation

◆ label

character(len=label_length), private the_behaviour::behaviour_base::label
private

Label for the behaviour type.

Definition at line 38 of file m_behav.f90.

◆ is_active

logical the_behaviour::behaviour_base::is_active

Logical flag indicating that this behaviour is activated (executed).

Warning
Only one behaviour unit can be executed at a time.

Definition at line 41 of file m_behav.f90.

◆ expectancy

type(motivation) the_behaviour::behaviour_base::expectancy

Each behavioural type within the whole repertoire has expectancies that set how each of the GOS motivational components is affected by its execution.

Definition at line 45 of file m_behav.f90.

◆ arousal_expected

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

Definition at line 50 of file m_behav.f90.


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