ImpactModel

class ImpactModel(compliance: Double, influencedBy: () -> List<CognitiveModel>, environmentalFactors: () -> Double) : CognitiveModel(source)

Agent-based evacuation model with social contagion mechanisms. More information can be found here.

Constructors

Link copied to clipboard
constructor(compliance: Double, influencedBy: () -> List<CognitiveModel>, environmentalFactors: () -> Double)

Functions

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

Value representing the current belief of the situation dangerousness.

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

Value representing the intention to escape. Opposed to remainIntention.

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

Value representing the level of fear.

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

Value representing the intention to remain. Opposed to escapeIntention

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

Update the current intensity of the aforementioned feelings considering a frequency.

Link copied to clipboard

Whether or not this node intends to escape.