Class EmotionAppraisalSystem
java.lang.Object
eu.iv4xr.framework.extensions.occ.EmotionAppraisalSystem
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) String
The name of the agent to which this appraisal system is attached to.int
A model of a user (or a type of users) in terms of e.g. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
This will configure the emotion-state to contain initial-emotions towards every goal in the agent's belief.(package private) void
Repeatedly applying goalTowardsGoal-rule for all pairs of goals, until goals status (well, more precisely until goals' likelihood) does not change anymore.getEmotion(String goalName, Emotion.EmotionType ety)
void
Update this Transition System state, upon receiving an event e.withUserModel(UserCharacterization userModel)
-
Field Details
-
agentName
String agentNameThe name of the agent to which this appraisal system is attached to. -
userModel
A model of a user (or a type of users) in terms of e.g. how they generally appraise events towards their goals (e.g. is an event desirable, or undesirable). -
beliefbase
-
emo
-
newEmotions
-
ememory
-
currentTime
public int currentTime
-
-
Constructor Details
-
EmotionAppraisalSystem
-
-
Method Details
-
withUserModel
-
attachEmotionBeliefBase
-
addGoal
-
getEmotion
-
applyGoalTowardsGoalRule
void applyGoalTowardsGoalRule()Repeatedly applying goalTowardsGoal-rule for all pairs of goals, until goals status (well, more precisely until goals' likelihood) does not change anymore. -
addInitialEmotions
public void addInitialEmotions()This will configure the emotion-state to contain initial-emotions towards every goal in the agent's belief. Only prospect-based emotions (hope and fear) will be initialized. The rationale is that having a goal implicitly also means that the agent must have some hope of achieving it, however small this hope could be. And similarly, it would have some fear as well, that the goal might fail. -
update
Update this Transition System state, upon receiving an event e. Also specify when the new time now.
-