Package FAtiMA.ToM

Class ToMComponent

  • All Implemented Interfaces:
    FAtiMA.Core.componentTypes.IAdvancedPerceptionsComponent, FAtiMA.Core.componentTypes.IAppraisalDerivationComponent, FAtiMA.Core.componentTypes.IComponent, FAtiMA.Core.IGetModelStrategy, FAtiMA.DeliberativeComponent.strategies.IGetUtilityForOthers, java.io.Serializable

    public class ToMComponent
    extends java.lang.Object
    implements java.io.Serializable, FAtiMA.Core.componentTypes.IAppraisalDerivationComponent, FAtiMA.Core.componentTypes.IAdvancedPerceptionsComponent, FAtiMA.Core.IGetModelStrategy, FAtiMA.DeliberativeComponent.strategies.IGetUtilityForOthers
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String _name  
      protected java.util.ArrayList<java.lang.String> _nearbyAgents  
      protected java.util.HashMap<java.lang.String,​ModelOfOther> _ToM  
      static java.lang.String NAME  
    • Constructor Summary

      Constructors 
      Constructor Description
      ToMComponent​(java.lang.String agentName)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void actionFailedPerception​(FAtiMA.Core.sensorEffector.Event e)  
      void appraisal​(FAtiMA.Core.AgentModel am, FAtiMA.Core.sensorEffector.Event e, FAtiMA.Core.emotionalState.AppraisalFrame as)  
      FAtiMA.Core.Display.AgentDisplayPanel createDisplayPanel​(FAtiMA.Core.AgentModel am)  
      void entityRemovedPerception​(java.lang.String entity)  
      FAtiMA.Core.AgentModel execute​(FAtiMA.Core.wellFormedNames.Symbol ToM)  
      java.lang.String[] getComponentDependencies()  
      java.util.HashMap<java.lang.String,​ModelOfOther> getToM()  
      float getUtilityForOthers​(FAtiMA.Core.AgentModel am, FAtiMA.Core.goals.ActivePursuitGoal g)  
      void initialize​(FAtiMA.Core.AgentModel am)  
      void inverseAppraisal​(FAtiMA.Core.AgentModel am, FAtiMA.Core.emotionalState.AppraisalFrame af)  
      void lookAtPerception​(FAtiMA.Core.AgentCore ag, java.lang.String subject, java.lang.String target)  
      java.lang.String name()  
      void propertyChangedPerception​(java.lang.String ToM, FAtiMA.Core.wellFormedNames.Name propertyName, java.lang.String value)  
      FAtiMA.Core.emotionalState.AppraisalFrame reappraisal​(FAtiMA.Core.AgentModel am)  
      void RemoveNearByAgent​(java.lang.String entity)  
      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
    • Field Detail

      • _name

        protected java.lang.String _name
      • _ToM

        protected java.util.HashMap<java.lang.String,​ModelOfOther> _ToM
      • _nearbyAgents

        protected java.util.ArrayList<java.lang.String> _nearbyAgents
    • Constructor Detail

      • ToMComponent

        public ToMComponent​(java.lang.String agentName)
    • Method Detail

      • actionFailedPerception

        public void actionFailedPerception​(FAtiMA.Core.sensorEffector.Event e)
        Specified by:
        actionFailedPerception in interface FAtiMA.Core.componentTypes.IAdvancedPerceptionsComponent
      • appraisal

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

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

        public void entityRemovedPerception​(java.lang.String entity)
        Specified by:
        entityRemovedPerception in interface FAtiMA.Core.componentTypes.IAdvancedPerceptionsComponent
      • execute

        public FAtiMA.Core.AgentModel execute​(FAtiMA.Core.wellFormedNames.Symbol ToM)
        Specified by:
        execute in interface FAtiMA.Core.IGetModelStrategy
      • getComponentDependencies

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

        public java.util.HashMap<java.lang.String,​ModelOfOther> getToM()
      • getUtilityForOthers

        public float getUtilityForOthers​(FAtiMA.Core.AgentModel am,
                                         FAtiMA.Core.goals.ActivePursuitGoal g)
        Specified by:
        getUtilityForOthers in interface FAtiMA.DeliberativeComponent.strategies.IGetUtilityForOthers
      • initialize

        public void initialize​(FAtiMA.Core.AgentModel am)
        Specified by:
        initialize 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
      • lookAtPerception

        public void lookAtPerception​(FAtiMA.Core.AgentCore ag,
                                     java.lang.String subject,
                                     java.lang.String target)
        Specified by:
        lookAtPerception in interface FAtiMA.Core.componentTypes.IAdvancedPerceptionsComponent
      • name

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

        public void propertyChangedPerception​(java.lang.String ToM,
                                              FAtiMA.Core.wellFormedNames.Name propertyName,
                                              java.lang.String value)
        Specified by:
        propertyChangedPerception in interface FAtiMA.Core.componentTypes.IAdvancedPerceptionsComponent
      • reappraisal

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

        public void RemoveNearByAgent​(java.lang.String entity)
      • reset

        public void reset()
        Specified by:
        reset 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
      • update

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