Package FAtiMA.empathy
Class EmpathyComponent
- java.lang.Object
-
- FAtiMA.empathy.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
-
-
Field Summary
Fields Modifier and Type Field Description static longIGNOREDURATIONstatic longREACTION_DELAY_MS
-
Constructor Summary
Constructors Constructor Description EmpathyComponent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactionSelectedForExecution(FAtiMA.Core.ValuedAction va)FAtiMA.Core.ValuedActionactionSelection(FAtiMA.Core.AgentModel am)java.util.ArrayList<FAtiMA.Core.emotionalState.BaseEmotion>affectDerivation(FAtiMA.Core.AgentModel am, FAtiMA.Core.emotionalState.AppraisalFrame af)voidappraisal(FAtiMA.Core.AgentModel am, FAtiMA.Core.sensorEffector.Event e, FAtiMA.Core.emotionalState.AppraisalFrame af)FAtiMA.Core.Display.AgentDisplayPanelcreateDisplayPanel(FAtiMA.Core.AgentModel am)java.lang.String[]getComponentDependencies()FAtiMA.ReactiveComponent.ActionTendenciesgetEmpathicActions()voidinitialize(FAtiMA.Core.AgentModel am)voidinverseAffectDerivation(FAtiMA.Core.AgentModel am, FAtiMA.Core.emotionalState.BaseEmotion em, FAtiMA.Core.emotionalState.AppraisalFrame af)voidinverseAppraisal(FAtiMA.Core.AgentModel am, FAtiMA.Core.emotionalState.AppraisalFrame af)java.lang.Stringname()FAtiMA.Core.emotionalState.AppraisalFramereappraisal(FAtiMA.Core.AgentModel am)voidreset()voidupdate(FAtiMA.Core.AgentModel am, long time)voidupdate(FAtiMA.Core.AgentModel am, FAtiMA.Core.sensorEffector.Event e)
-
-
-
Field Detail
-
IGNOREDURATION
public static final long IGNOREDURATION
- See Also:
- Constant Field Values
-
REACTION_DELAY_MS
public static final long REACTION_DELAY_MS
- See Also:
- Constant Field Values
-
-
Method Detail
-
name
public java.lang.String name()
- Specified by:
namein interfaceFAtiMA.Core.componentTypes.IComponent
-
initialize
public void initialize(FAtiMA.Core.AgentModel am)
- Specified by:
initializein interfaceFAtiMA.Core.componentTypes.IComponent
-
update
public void update(FAtiMA.Core.AgentModel am, long time)- Specified by:
updatein interfaceFAtiMA.Core.componentTypes.IComponent
-
update
public void update(FAtiMA.Core.AgentModel am, FAtiMA.Core.sensorEffector.Event e)- Specified by:
updatein interfaceFAtiMA.Core.componentTypes.IComponent
-
appraisal
public void appraisal(FAtiMA.Core.AgentModel am, FAtiMA.Core.sensorEffector.Event e, FAtiMA.Core.emotionalState.AppraisalFrame af)- Specified by:
appraisalin interfaceFAtiMA.Core.componentTypes.IAppraisalDerivationComponent
-
reappraisal
public FAtiMA.Core.emotionalState.AppraisalFrame reappraisal(FAtiMA.Core.AgentModel am)
- Specified by:
reappraisalin interfaceFAtiMA.Core.componentTypes.IAppraisalDerivationComponent
-
affectDerivation
public java.util.ArrayList<FAtiMA.Core.emotionalState.BaseEmotion> affectDerivation(FAtiMA.Core.AgentModel am, FAtiMA.Core.emotionalState.AppraisalFrame af)- Specified by:
affectDerivationin interfaceFAtiMA.Core.componentTypes.IAffectDerivationComponent
-
getEmpathicActions
public FAtiMA.ReactiveComponent.ActionTendencies getEmpathicActions()
-
actionSelection
public FAtiMA.Core.ValuedAction actionSelection(FAtiMA.Core.AgentModel am)
- Specified by:
actionSelectionin interfaceFAtiMA.Core.componentTypes.IBehaviourComponent
-
reset
public void reset()
- Specified by:
resetin interfaceFAtiMA.Core.componentTypes.IComponent
-
createDisplayPanel
public FAtiMA.Core.Display.AgentDisplayPanel createDisplayPanel(FAtiMA.Core.AgentModel am)
- Specified by:
createDisplayPanelin interfaceFAtiMA.Core.componentTypes.IComponent
-
inverseAppraisal
public void inverseAppraisal(FAtiMA.Core.AgentModel am, FAtiMA.Core.emotionalState.AppraisalFrame af)- Specified by:
inverseAppraisalin interfaceFAtiMA.Core.componentTypes.IAppraisalDerivationComponent
-
actionSelectedForExecution
public void actionSelectedForExecution(FAtiMA.Core.ValuedAction va)
- Specified by:
actionSelectedForExecutionin interfaceFAtiMA.Core.componentTypes.IBehaviourComponent
-
getComponentDependencies
public java.lang.String[] getComponentDependencies()
- Specified by:
getComponentDependenciesin interfaceFAtiMA.Core.componentTypes.IComponent
-
inverseAffectDerivation
public void inverseAffectDerivation(FAtiMA.Core.AgentModel am, FAtiMA.Core.emotionalState.BaseEmotion em, FAtiMA.Core.emotionalState.AppraisalFrame af)- Specified by:
inverseAffectDerivationin interfaceFAtiMA.Core.componentTypes.IAffectDerivationComponent
-
-