BeliefDanger

class BeliefDanger(zoneDangerousness: () -> Double, fear: () -> Double, influencialPeople: () -> List<CognitiveModel>) : MentalCognitiveCharacteristic

The perception of the situation danger. The name belief derives from the IMPACT model.

Parameters

zoneDangerousness
the influence of the position of the agent owning this
compared to the real position of the source of danger.
fear
the level of fear of the agent owning this.
influencialPeople
the list of cognitive agents with an influence on the agent owning this.

Constructors

Link copied to clipboard
constructor(zoneDangerousness: () -> Double, fear: () -> Double, influencialPeople: () -> List<CognitiveModel>)

Functions

Link copied to clipboard
open override fun combinationFunction(): Double

Algorithm which decides how the parameters involved in the evolution of this characteristic must be combined together. It can be either a max, min, summation or any other type of function.

Link copied to clipboard
open override fun level(): Double

The current intensity of this characteristic.

Link copied to clipboard
open override fun update(frequency: Double)

Update the current intensity of this characteristic.