-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.cognitiveagents.impact.cognitive.CognitiveCharacteristic,it.unibo.alchemist.model.cognitiveagents.impact.individual.Characteristic
public final class Fear extends MentalCognitiveCharacteristic
The fear emotion.
-
-
Constructor Summary
Constructors Constructor Description Fear(Function0<Double> desireWalkRandomly, Function0<Double> desireEvacuate, Function0<List<CognitiveModel>> influencialPeople)
-
Method Summary
Modifier and Type Method Description DoublecombinationFunction()Algorithm which decides how the parameters involved in the evolution of this characteristic must be combined together. -
Methods inherited from class it.unibo.alchemist.model.cognitiveagents.impact.cognitive.Fear
update -
Methods inherited from class it.unibo.alchemist.model.cognitiveagents.impact.cognitive.MentalCognitiveCharacteristic
level -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
Fear
Fear(Function0<Double> desireWalkRandomly, Function0<Double> desireEvacuate, Function0<List<CognitiveModel>> influencialPeople)
- Parameters:
desireWalkRandomly-the current desire of not evacuating of the agent owning this.desireEvacuate-the current desire of evacuating of the agent owning this.influencialPeople-the list of cognitive agents with an influence on the agent owning this.
-
-
Method Detail
-
combinationFunction
Double combinationFunction()
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.
-
-
-
-