Class UserCharacterization

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

public abstract class UserCharacterization extends Object
Author:
sansari This class models a user, or a type of users, in terms of how they appraise incoming events towards e.g. goals that matter for them.
  • Field Details

    • goalTowardsGoalRule

      public Function<BeliefBase,​Function<String,​Function<String,​Integer>>> goalTowardsGoalRule
      Representing a rule (actually, a combined set of rules) describing how the likelihood of a given goal affects the likelihood of another goal (consequence-goal). When applied, the rule returns the new estimated/believed likelihood of the consequence goal. Null is returned if the causing-goal is considered as irrelevant for the consequent-goal. The default is that this rule is just empty.
  • Constructor Details

    • UserCharacterization

      public UserCharacterization()
  • Method Details

    • eventEffect

      public abstract void eventEffect(Event e, BeliefBase beliefbase)
      This method should model the semantic of an Event in terms of an update to the given belief-base.
    • desirabilityAppraisalRule

      public abstract int desirabilityAppraisalRule(BeliefBase.Goals_Status goals_status, String eventName, String goalName)
      Appraise the desirability of an event towards a goal. Positive is desirable, negative is the opposite. 0 means the event is considered as not relevant towards the goal.
    • emotionIntensityDecayRule

      public abstract int emotionIntensityDecayRule(Emotion.EmotionType etype)
      This rule specifies for each emotion type, what the corresponding decay-factor. This should be an int >= 1. Emotion with decay-factor 2 will decay, roughly, twice as fast.
    • intensityThresholdRule

      public abstract int intensityThresholdRule(Emotion.EmotionType etyp)