Class CulturalDimensionsComponent

java.lang.Object
FAtiMA.culture.CulturalDimensionsComponent
All Implemented Interfaces:
FAtiMA.Core.componentTypes.IAppraisalDerivationComponent, FAtiMA.Core.componentTypes.IComponent, FAtiMA.DeliberativeComponent.IOptionsStrategy, FAtiMA.DeliberativeComponent.strategies.IExpectedUtilityStrategy

public class CulturalDimensionsComponent extends Object implements FAtiMA.Core.componentTypes.IAppraisalDerivationComponent, FAtiMA.DeliberativeComponent.IOptionsStrategy, FAtiMA.DeliberativeComponent.strategies.IExpectedUtilityStrategy
  • Field Details

  • Constructor Details

    • CulturalDimensionsComponent

      public CulturalDimensionsComponent(String cultureFile)
  • Method Details

    • name

      public 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
    • 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
    • AddRitual

      public void AddRitual(Ritual r)
    • getDimensionValue

      public int getDimensionValue(short dimensionType)
    • setDimensionValue

      public void setDimensionValue(short dimensionType, int value)
    • determineCulturalUtility

      public float determineCulturalUtility(FAtiMA.Core.AgentModel am, FAtiMA.Core.goals.ActivePursuitGoal goal, float selfContrib, float otherContrib)
    • determinePraiseWorthiness

      public float determinePraiseWorthiness(float contributionToResponsibleAgentNeeds, float contributionToOthersNeeds)
    • reset

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

      public Collection<? extends FAtiMA.Core.goals.ActivePursuitGoal> options(FAtiMA.Core.AgentModel am)
      Specified by:
      options in interface FAtiMA.DeliberativeComponent.IOptionsStrategy
    • getExpectedUtility

      public float getExpectedUtility(FAtiMA.Core.AgentModel am, FAtiMA.Core.goals.ActivePursuitGoal g)
      Specified by:
      getExpectedUtility in interface FAtiMA.DeliberativeComponent.strategies.IExpectedUtilityStrategy
    • getExpectedUtility

      public float getExpectedUtility(FAtiMA.Core.AgentModel am, FAtiMA.DeliberativeComponent.Intention i)
      Specified by:
      getExpectedUtility in interface FAtiMA.DeliberativeComponent.strategies.IExpectedUtilityStrategy
    • 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
    • createDisplayPanel

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

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

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

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