ImpactModel

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

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

Returns the agent's current belief about the situation's dangerousness.

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

Returns the agent's intention to escape. This value is opposed to remainIntention.

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

Returns the agent's current fear level.

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

Returns the agent's intention to remain. This value is opposed to escapeIntention.

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

Update the model internal state using the provided update frequency.

Link copied to clipboard

Whether the agent currently intends to escape.