Package FAtiMA.emotionalIntelligence
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,java.io.Serializable,java.lang.Cloneable
public class AppraisalCondition extends FAtiMA.Core.conditions.PastEventCondition- See Also:
- Serialized Form
-
-
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 booleanCheckCondition(FAtiMA.Core.AgentModel am)java.lang.Objectclone()java.lang.ObjectGenerateName(int id)java.util.ArrayList<FAtiMA.Core.wellFormedNames.SubstitutionSet>GetValidBindings(FAtiMA.Core.AgentModel am)java.lang.ObjectGround(FAtiMA.Core.wellFormedNames.Substitution subst)java.lang.ObjectGround(java.util.ArrayList<FAtiMA.Core.wellFormedNames.Substitution> bindingConstraints)voidMakeGround(FAtiMA.Core.wellFormedNames.Substitution subst)voidMakeGround(java.util.ArrayList<FAtiMA.Core.wellFormedNames.Substitution> bindings)voidReplaceUnboundVariables(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
-
-
-
-
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:
CheckConditionin classFAtiMA.Core.conditions.PastEventCondition
-
clone
public java.lang.Object clone()
- Overrides:
clonein classFAtiMA.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:
GetValidBindingsin classFAtiMA.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:
MakeGroundin interfaceFAtiMA.Core.wellFormedNames.IGroundable- Overrides:
MakeGroundin classFAtiMA.Core.conditions.PastEventCondition
-
MakeGround
public void MakeGround(FAtiMA.Core.wellFormedNames.Substitution subst)
- Specified by:
MakeGroundin interfaceFAtiMA.Core.wellFormedNames.IGroundable- Overrides:
MakeGroundin classFAtiMA.Core.conditions.PastEventCondition
-
ReplaceUnboundVariables
public void ReplaceUnboundVariables(int variableID)
- Specified by:
ReplaceUnboundVariablesin interfaceFAtiMA.Core.wellFormedNames.IGroundable- Overrides:
ReplaceUnboundVariablesin classFAtiMA.Core.conditions.PastEventCondition
-
-