Class Emotion

java.lang.Object
eu.iv4xr.framework.extensions.occ.Emotion

public class Emotion extends Object
Representing a single instance of the state of some emotion type.
Author:
sansari
  • Field Details

    • emotionTypes

      public static Emotion.EmotionType[] emotionTypes
      Just a constant array holding all possible emotion types, so that we can quantify over it.
    • exclusionAxiomessential1

      static List<Emotion.EmotionType> exclusionAxiomessential1
    • exclusionAxiomessential2

      static List<Emotion.EmotionType> exclusionAxiomessential2
    • etype

      public Emotion.EmotionType etype
    • g

      public Goal g
    • t0

      public int t0
      Representing the time when the emotion is triggered.
    • intensity

      public int intensity
      A number in the range of 0..100 representing this emotion's current intensity.
    • intensity0

      public int intensity0
      The initial intensity of this emotion when it first triggered at time t0.
  • Constructor Details

  • Method Details

    • exclusion

      public static boolean exclusion(Emotion.EmotionType ety1, Emotion.EmotionType ety2)
      Return true if the two emotions (towards the same target) should be mutually exclusive. That is, if one is present, the other should not.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • shallowClone

      public Emotion shallowClone()
      Make a copy of this Emotion. The goal is NOT deep-copied.