Class AppraisalCondition

java.lang.Object
FAtiMA.Core.conditions.Condition
FAtiMA.Core.conditions.PredicateCondition
FAtiMA.Core.conditions.PastEventCondition
FAtiMA.emotionalIntelligence.AppraisalCondition
All Implemented Interfaces:
FAtiMA.Core.wellFormedNames.IGroundable, Serializable, Cloneable

public class AppraisalCondition extends FAtiMA.Core.conditions.PastEventCondition
See Also:
  • 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, 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, ArrayList<FAtiMA.Core.wellFormedNames.Symbol> parameters)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    CheckCondition(FAtiMA.Core.AgentModel am)
     
     
    GenerateName(int id)
     
    ArrayList<FAtiMA.Core.wellFormedNames.SubstitutionSet>
    GetValidBindings(FAtiMA.Core.AgentModel am)
     
    Ground(FAtiMA.Core.wellFormedNames.Substitution subst)
     
    Ground(ArrayList<FAtiMA.Core.wellFormedNames.Substitution> bindingConstraints)
     
    void
    MakeGround(FAtiMA.Core.wellFormedNames.Substitution subst)
     
    void
    MakeGround(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 Details

    • AppraisalCondition

      public AppraisalCondition(FAtiMA.Core.wellFormedNames.Symbol agent, 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, ArrayList<FAtiMA.Core.wellFormedNames.Symbol> parameters)
  • Method Details

    • CheckCondition

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

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

      public Object GenerateName(int id)
    • GetValidBindings

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

      public Object Ground(ArrayList<FAtiMA.Core.wellFormedNames.Substitution> bindingConstraints)
    • Ground

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

      public void MakeGround(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