DesireEvacuate

class DesireEvacuate(compliance: Double, dangerBelief: () -> Double, fear: () -> Double) : MentalCognitiveCharacteristic

The desire to evacuate.

Parameters

compliance
the current level of compliance of the agent owning this.
dangerBelief
the current level of danger belief of the agent owning this.
fear
the current level of fear of the agent owning this.

Constructors

Link copied to clipboard
constructor(compliance: Double, dangerBelief: () -> Double, fear: () -> Double)

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.