Class EmotionMemory

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

public class EmotionMemory extends Object
  • Field Details

    • memory

      List<Emotion> memory
    • memoryHorizon

      public static int memoryHorizon
  • Constructor Details

    • EmotionMemory

      public EmotionMemory()
  • Method Details

    • register

      public void register(Emotion e)
      Add this emotion e to the memory.
    • cleanup

      public void cleanup(int currentTime)
      Remove memories which are too old.
    • contains

      public boolean contains(Emotion.EmotionType etype, String goal)
      Check the memory registered an emotion of the given type, towards the given goal.