Class EmpathyComponent

  • All Implemented Interfaces:
    FAtiMA.Core.componentTypes.IAffectDerivationComponent, FAtiMA.Core.componentTypes.IAppraisalDerivationComponent, FAtiMA.Core.componentTypes.IBehaviourComponent, FAtiMA.Core.componentTypes.IComponent

    public class EmpathyComponent
    extends java.lang.Object
    implements FAtiMA.Core.componentTypes.IAppraisalDerivationComponent, FAtiMA.Core.componentTypes.IAffectDerivationComponent, FAtiMA.Core.componentTypes.IBehaviourComponent
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void actionSelectedForExecution​(FAtiMA.Core.ValuedAction va)  
      FAtiMA.Core.ValuedAction actionSelection​(FAtiMA.Core.AgentModel am)  
      java.util.ArrayList<FAtiMA.Core.emotionalState.BaseEmotion> affectDerivation​(FAtiMA.Core.AgentModel am, FAtiMA.Core.emotionalState.AppraisalFrame af)  
      void appraisal​(FAtiMA.Core.AgentModel am, FAtiMA.Core.sensorEffector.Event e, FAtiMA.Core.emotionalState.AppraisalFrame af)  
      FAtiMA.Core.Display.AgentDisplayPanel createDisplayPanel​(FAtiMA.Core.AgentModel am)  
      java.lang.String[] getComponentDependencies()  
      FAtiMA.ReactiveComponent.ActionTendencies getEmpathicActions()  
      void initialize​(FAtiMA.Core.AgentModel am)  
      void inverseAffectDerivation​(FAtiMA.Core.AgentModel am, FAtiMA.Core.emotionalState.BaseEmotion em, FAtiMA.Core.emotionalState.AppraisalFrame af)  
      void inverseAppraisal​(FAtiMA.Core.AgentModel am, FAtiMA.Core.emotionalState.AppraisalFrame af)  
      java.lang.String name()  
      FAtiMA.Core.emotionalState.AppraisalFrame reappraisal​(FAtiMA.Core.AgentModel am)  
      void reset()  
      void update​(FAtiMA.Core.AgentModel am, long time)  
      void update​(FAtiMA.Core.AgentModel am, FAtiMA.Core.sensorEffector.Event e)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EmpathyComponent

        public EmpathyComponent()
    • Method Detail

      • name

        public java.lang.String name()
        Specified by:
        name in interface FAtiMA.Core.componentTypes.IComponent
      • initialize

        public void initialize​(FAtiMA.Core.AgentModel am)
        Specified by:
        initialize in interface FAtiMA.Core.componentTypes.IComponent
      • update

        public void update​(FAtiMA.Core.AgentModel am,
                           long time)
        Specified by:
        update in interface FAtiMA.Core.componentTypes.IComponent
      • update

        public void update​(FAtiMA.Core.AgentModel am,
                           FAtiMA.Core.sensorEffector.Event e)
        Specified by:
        update in interface FAtiMA.Core.componentTypes.IComponent
      • appraisal

        public void appraisal​(FAtiMA.Core.AgentModel am,
                              FAtiMA.Core.sensorEffector.Event e,
                              FAtiMA.Core.emotionalState.AppraisalFrame af)
        Specified by:
        appraisal in interface FAtiMA.Core.componentTypes.IAppraisalDerivationComponent
      • reappraisal

        public FAtiMA.Core.emotionalState.AppraisalFrame reappraisal​(FAtiMA.Core.AgentModel am)
        Specified by:
        reappraisal in interface FAtiMA.Core.componentTypes.IAppraisalDerivationComponent
      • affectDerivation

        public java.util.ArrayList<FAtiMA.Core.emotionalState.BaseEmotion> affectDerivation​(FAtiMA.Core.AgentModel am,
                                                                                            FAtiMA.Core.emotionalState.AppraisalFrame af)
        Specified by:
        affectDerivation in interface FAtiMA.Core.componentTypes.IAffectDerivationComponent
      • getEmpathicActions

        public FAtiMA.ReactiveComponent.ActionTendencies getEmpathicActions()
      • actionSelection

        public FAtiMA.Core.ValuedAction actionSelection​(FAtiMA.Core.AgentModel am)
        Specified by:
        actionSelection in interface FAtiMA.Core.componentTypes.IBehaviourComponent
      • reset

        public void reset()
        Specified by:
        reset in interface FAtiMA.Core.componentTypes.IComponent
      • createDisplayPanel

        public FAtiMA.Core.Display.AgentDisplayPanel createDisplayPanel​(FAtiMA.Core.AgentModel am)
        Specified by:
        createDisplayPanel in interface FAtiMA.Core.componentTypes.IComponent
      • inverseAppraisal

        public void inverseAppraisal​(FAtiMA.Core.AgentModel am,
                                     FAtiMA.Core.emotionalState.AppraisalFrame af)
        Specified by:
        inverseAppraisal in interface FAtiMA.Core.componentTypes.IAppraisalDerivationComponent
      • actionSelectedForExecution

        public void actionSelectedForExecution​(FAtiMA.Core.ValuedAction va)
        Specified by:
        actionSelectedForExecution in interface FAtiMA.Core.componentTypes.IBehaviourComponent
      • getComponentDependencies

        public java.lang.String[] getComponentDependencies()
        Specified by:
        getComponentDependencies in interface FAtiMA.Core.componentTypes.IComponent
      • inverseAffectDerivation

        public void inverseAffectDerivation​(FAtiMA.Core.AgentModel am,
                                            FAtiMA.Core.emotionalState.BaseEmotion em,
                                            FAtiMA.Core.emotionalState.AppraisalFrame af)
        Specified by:
        inverseAffectDerivation in interface FAtiMA.Core.componentTypes.IAffectDerivationComponent