Class DesireEvacuate

  • All Implemented Interfaces:
    it.unibo.alchemist.model.cognitive.impact.cognitive.CognitiveCharacteristic , it.unibo.alchemist.model.cognitive.impact.individual.Characteristic

    
    public final class DesireEvacuate
    extends MentalCognitiveCharacteristic
                        

    The desire to evacuate.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • 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

      • DesireEvacuate

        DesireEvacuate(Double compliance, Function0<Double> dangerBelief, Function0<Double> fear)
        Parameters:
        compliance -
        the current level of compliance of the agent owning this.
        dangerBelief -
        the current level of danger belief of the agent owning this.
        fear -
        the current level of fear of 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.