Class EmotionMemory
java.lang.Object
eu.iv4xr.framework.extensions.occ.EmotionMemory
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcleanup(int currentTime)Remove memories which are too old.booleancontains(Emotion.EmotionType etype, String goal)Check the memory registered an emotion of the given type, towards the given goal.voidAdd this emotion e to the memory.
-
Field Details
-
memory
-
memoryHorizon
public static int memoryHorizon
-
-
Constructor Details
-
EmotionMemory
public EmotionMemory()
-
-
Method Details
-
register
Add this emotion e to the memory. -
cleanup
public void cleanup(int currentTime)Remove memories which are too old. -
contains
Check the memory registered an emotion of the given type, towards the given goal.
-