Class EmotionRelatedFunctions
java.lang.Object
eu.iv4xr.framework.extensions.occ.EmotionRelatedFunctions
- Author:
- sansari, wprasetya
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic int
decayedIntesity(UserCharacterization userModel, Emotion.EmotionType ety, int initialIntensity, int t0, int newtime)
The ifun_time function.static int
disappointment(UserCharacterization userModel, BeliefBase.Goals_Status goalsStatusBefore, BeliefBase.Goals_Status goalsStatusAfter, Goal g, Set<Emotion> emotionset, EmotionMemory ememory)
static int
distress(UserCharacterization userModel, BeliefBase.Goals_Status goalsStatusAfter, Event e, Goal g)
static int
EmotionFunction(UserCharacterization userModel, Emotion.EmotionType ety, BeliefBase.Goals_Status goalsStatusBefore, BeliefBase.Goals_Status goalsStatusAfter, Event e, String targetName, Set<Emotion> emotionset, EmotionMemory ememory)
static int
fear(UserCharacterization userModel, BeliefBase.Goals_Status goalsStatusBefore, BeliefBase.Goals_Status goalsStatusAfter, Goal g)
static int
hope(UserCharacterization userModel, BeliefBase.Goals_Status goalsStatusBefore, BeliefBase.Goals_Status goalsStatusAfter, Goal g)
static int
intensity(UserCharacterization userModel, Emotion.EmotionType ety, BeliefBase.Goals_Status goalsStatus, Event e, String targetName)
Intensity function, for determining the initial intensity of an emotion towards a given target, when this emotion is triggered for the first time.static int
joy(UserCharacterization userModel, BeliefBase.Goals_Status goalsStatusAfter, Event e, Goal g)
static int
potential(UserCharacterization userModel, Emotion.EmotionType ety, BeliefBase.Goals_Status goalsStatus, Event e, String targetName)
Potential function is used to determine the raw initial intensity of emotion towards a given goal, when it is triggered by an event.static int
satisfaction(UserCharacterization userModel, BeliefBase.Goals_Status goalsStatusBefore, BeliefBase.Goals_Status goalsStatusAfter, Goal g, Set<Emotion> emotionset, EmotionMemory ememory)
-
Constructor Details
-
EmotionRelatedFunctions
public EmotionRelatedFunctions()
-
-
Method Details
-
EmotionFunction
public static int EmotionFunction(UserCharacterization userModel, Emotion.EmotionType ety, BeliefBase.Goals_Status goalsStatusBefore, BeliefBase.Goals_Status goalsStatusAfter, Event e, String targetName, Set<Emotion> emotionset, EmotionMemory ememory) -
joy
public static int joy(UserCharacterization userModel, BeliefBase.Goals_Status goalsStatusAfter, Event e, Goal g) -
distress
public static int distress(UserCharacterization userModel, BeliefBase.Goals_Status goalsStatusAfter, Event e, Goal g) -
hope
public static int hope(UserCharacterization userModel, BeliefBase.Goals_Status goalsStatusBefore, BeliefBase.Goals_Status goalsStatusAfter, Goal g) -
fear
public static int fear(UserCharacterization userModel, BeliefBase.Goals_Status goalsStatusBefore, BeliefBase.Goals_Status goalsStatusAfter, Goal g) -
satisfaction
public static int satisfaction(UserCharacterization userModel, BeliefBase.Goals_Status goalsStatusBefore, BeliefBase.Goals_Status goalsStatusAfter, Goal g, Set<Emotion> emotionset, EmotionMemory ememory) -
disappointment
public static int disappointment(UserCharacterization userModel, BeliefBase.Goals_Status goalsStatusBefore, BeliefBase.Goals_Status goalsStatusAfter, Goal g, Set<Emotion> emotionset, EmotionMemory ememory) -
intensity
public static int intensity(UserCharacterization userModel, Emotion.EmotionType ety, BeliefBase.Goals_Status goalsStatus, Event e, String targetName)Intensity function, for determining the initial intensity of an emotion towards a given target, when this emotion is triggered for the first time. The trigger is an event. -
potential
public static int potential(UserCharacterization userModel, Emotion.EmotionType ety, BeliefBase.Goals_Status goalsStatus, Event e, String targetName)Potential function is used to determine the raw initial intensity of emotion towards a given goal, when it is triggered by an event. This is used inside the intensity-function. -
decayedIntesity
public static int decayedIntesity(UserCharacterization userModel, Emotion.EmotionType ety, int initialIntensity, int t0, int newtime)The ifun_time function.
-