Class AppraisalCondition

  • All Implemented Interfaces:
    FAtiMA.Core.wellFormedNames.IGroundable, java.io.Serializable, java.lang.Cloneable

    public class AppraisalCondition
    extends FAtiMA.Core.conditions.PastEventCondition
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class FAtiMA.Core.conditions.PastEventCondition

        _action, _parameters, _status, _subject, _target, _type
    • Constructor Summary

      Constructors 
      Constructor Description
      AppraisalCondition​(FAtiMA.Core.wellFormedNames.Symbol agent, java.lang.String appraisalVariable, FAtiMA.Core.wellFormedNames.Symbol value, int threshold, short test, FAtiMA.Core.wellFormedNames.Symbol subject, FAtiMA.Core.wellFormedNames.Symbol action, FAtiMA.Core.wellFormedNames.Symbol target, java.util.ArrayList<FAtiMA.Core.wellFormedNames.Symbol> parameters)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean CheckCondition​(FAtiMA.Core.AgentModel am)  
      java.lang.Object clone()  
      java.lang.Object GenerateName​(int id)  
      java.util.ArrayList<FAtiMA.Core.wellFormedNames.SubstitutionSet> GetValidBindings​(FAtiMA.Core.AgentModel am)  
      java.lang.Object Ground​(FAtiMA.Core.wellFormedNames.Substitution subst)  
      java.lang.Object Ground​(java.util.ArrayList<FAtiMA.Core.wellFormedNames.Substitution> bindingConstraints)  
      void MakeGround​(FAtiMA.Core.wellFormedNames.Substitution subst)  
      void MakeGround​(java.util.ArrayList<FAtiMA.Core.wellFormedNames.Substitution> bindings)  
      void ReplaceUnboundVariables​(int variableID)  
      • Methods inherited from class FAtiMA.Core.conditions.PastEventCondition

        GetPossibleBindings, GetSearchKeys, isGrounded, ParseEvent
      • Methods inherited from class FAtiMA.Core.conditions.PredicateCondition

        getPositive, GetValue, GetValueBindings, isPositive, ParsePredicate, setPositive, toString
      • Methods inherited from class FAtiMA.Core.conditions.Condition

        CheckActivation, getName, getToM, hasChangedVerifiability, isVerifiable, setName, setToM, setVerifiable
      • Methods inherited from class java.lang.Object

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

      • AppraisalCondition

        public AppraisalCondition​(FAtiMA.Core.wellFormedNames.Symbol agent,
                                  java.lang.String appraisalVariable,
                                  FAtiMA.Core.wellFormedNames.Symbol value,
                                  int threshold,
                                  short test,
                                  FAtiMA.Core.wellFormedNames.Symbol subject,
                                  FAtiMA.Core.wellFormedNames.Symbol action,
                                  FAtiMA.Core.wellFormedNames.Symbol target,
                                  java.util.ArrayList<FAtiMA.Core.wellFormedNames.Symbol> parameters)
    • Method Detail

      • CheckCondition

        public boolean CheckCondition​(FAtiMA.Core.AgentModel am)
        Overrides:
        CheckCondition in class FAtiMA.Core.conditions.PastEventCondition
      • clone

        public java.lang.Object clone()
        Overrides:
        clone in class FAtiMA.Core.conditions.PastEventCondition
      • GenerateName

        public java.lang.Object GenerateName​(int id)
      • GetValidBindings

        public java.util.ArrayList<FAtiMA.Core.wellFormedNames.SubstitutionSet> GetValidBindings​(FAtiMA.Core.AgentModel am)
        Overrides:
        GetValidBindings in class FAtiMA.Core.conditions.PastEventCondition
      • Ground

        public java.lang.Object Ground​(java.util.ArrayList<FAtiMA.Core.wellFormedNames.Substitution> bindingConstraints)
      • Ground

        public java.lang.Object Ground​(FAtiMA.Core.wellFormedNames.Substitution subst)
      • MakeGround

        public void MakeGround​(java.util.ArrayList<FAtiMA.Core.wellFormedNames.Substitution> bindings)
        Specified by:
        MakeGround in interface FAtiMA.Core.wellFormedNames.IGroundable
        Overrides:
        MakeGround in class FAtiMA.Core.conditions.PastEventCondition
      • MakeGround

        public void MakeGround​(FAtiMA.Core.wellFormedNames.Substitution subst)
        Specified by:
        MakeGround in interface FAtiMA.Core.wellFormedNames.IGroundable
        Overrides:
        MakeGround in class FAtiMA.Core.conditions.PastEventCondition
      • ReplaceUnboundVariables

        public void ReplaceUnboundVariables​(int variableID)
        Specified by:
        ReplaceUnboundVariables in interface FAtiMA.Core.wellFormedNames.IGroundable
        Overrides:
        ReplaceUnboundVariables in class FAtiMA.Core.conditions.PastEventCondition