Class ImpactModel
-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.cognitive.CognitiveModel
public final class ImpactModel implements CognitiveModel
Agent-based evacuation model with social contagion mechanisms. More information can be found here.
-
-
Constructor Summary
Constructors Constructor Description ImpactModel(Double compliance, Function0<List<CognitiveModel>> influencedBy, Function0<Double> environmentalFactors)
-
Method Summary
Modifier and Type Method Description Double
dangerBelief()
Value representing the current belief of the situation dangerousness. Double
fear()
Value representing the level of fear. Double
remainIntention()
Value representing the intention to remain. Double
escapeIntention()
Value representing the intention to escape. Unit
update(Double frequency)
Update the current intensity of the aforementioned feelings considering a frequency. -
-
Constructor Detail
-
ImpactModel
ImpactModel(Double compliance, Function0<List<CognitiveModel>> influencedBy, Function0<Double> environmentalFactors)
-
-
Method Detail
-
dangerBelief
Double dangerBelief()
Value representing the current belief of the situation dangerousness.
-
remainIntention
Double remainIntention()
Value representing the intention to remain. Opposed to escapeIntention
-
escapeIntention
Double escapeIntention()
Value representing the intention to escape. Opposed to remainIntention.
-
-
-
-