Class BeliefDanger
-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.cognitive.impact.cognitive.CognitiveCharacteristic
,it.unibo.alchemist.model.cognitive.impact.individual.Characteristic
public final class BeliefDanger extends MentalCognitiveCharacteristic
The perception of the situation danger. The name belief derives from the IMPACT model.
-
-
Constructor Summary
Constructors Constructor Description BeliefDanger(Function0<Double> zoneDangerousness, Function0<Double> fear, Function0<List<CognitiveModel>> influencialPeople)
-
Method Summary
Modifier and Type Method Description Double
combinationFunction()
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.cognitive.impact.cognitive.MentalCognitiveCharacteristic
update
-
Methods inherited from class it.unibo.alchemist.model.cognitive.impact.cognitive.AbstractCognitiveCharacteristic
level
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
BeliefDanger
BeliefDanger(Function0<Double> zoneDangerousness, Function0<Double> fear, Function0<List<CognitiveModel>> influencialPeople)
- Parameters:
zoneDangerousness
-the influence of the position of the agent owning this compared to the real position of the source of danger.
fear
-the level of fear 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.
-
-
-
-