IntentionEvacuate

class IntentionEvacuate(desireWalkRandomly: () -> Double, desireEvacuate: () -> Double) : BodyCognitiveCharacteristic

The intention to evacuate of .

Parameters

desireWalkRandomly
the desire not to evacuate of the agent owning this characteristic.
desireEvacuate
the desire to evacuate of the agent owning this characteristic.

Constructors

Link copied to clipboard
constructor(desireWalkRandomly: () -> Double, desireEvacuate: () -> 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.