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)

Properties

Link copied to clipboard
open override val escapeDecision: Observable<Boolean>

The current escape decision, updated whenever the model evolves.

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(timeStep: Double)

Advances the model internal state by timeStep.

Link copied to clipboard

Whether the agent currently intends to escape.