Class Emotion
java.lang.Object
eu.iv4xr.framework.extensions.occ.Emotion
Representing a single instance of the state of some emotion type.
- Author:
- sansari
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classDifferent types of emotion supported by this model. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Emotion.EmotionType[]Just a constant array holding all possible emotion types, so that we can quantify over it.(package private) static List<Emotion.EmotionType>(package private) static List<Emotion.EmotionType>intA number in the range of 0..100 representing this emotion's current intensity.intThe initial intensity of this emotion when it first triggered at time t0.intRepresenting the time when the emotion is triggered. -
Constructor Summary
ConstructorsConstructorDescriptionEmotion(Emotion.EmotionType ety, Goal g, int timeWhenTrigerred, int initialIntensity) -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanexclusion(Emotion.EmotionType ety1, Emotion.EmotionType ety2)Return true if the two emotions (towards the same target) should be mutually exclusive.Make a copy of this Emotion.toString()
-
Field Details
-
emotionTypes
Just a constant array holding all possible emotion types, so that we can quantify over it. -
exclusionAxiomessential1
-
exclusionAxiomessential2
-
etype
-
g
-
t0
public int t0Representing the time when the emotion is triggered. -
intensity
public int intensityA number in the range of 0..100 representing this emotion's current intensity. -
intensity0
public int intensity0The initial intensity of this emotion when it first triggered at time t0.
-
-
Constructor Details
-
Emotion
-
-
Method Details