FAtiMA.Core.wellFormedNames.IGroundable, java.io.Serializable, java.lang.Cloneablepublic class SACondition
extends FAtiMA.Core.conditions.Condition
| Modifier and Type | Field | Description |
|---|---|---|
protected java.util.Hashtable<java.lang.String,FAtiMA.Core.wellFormedNames.Symbol> |
_knownVariables |
|
protected java.lang.String |
_query |
|
protected FAtiMA.Core.wellFormedNames.Symbol |
_value |
| Modifier and Type | Method | Description |
|---|---|---|
void |
AddKnownVariables(java.lang.String name,
FAtiMA.Core.wellFormedNames.Symbol value) |
|
boolean |
CheckCondition(FAtiMA.Core.AgentModel am) |
|
java.lang.Object |
clone() |
|
java.util.Hashtable<java.lang.String,FAtiMA.Core.wellFormedNames.Symbol> |
GetKnownVariables() |
|
java.lang.String |
GetQuery() |
|
java.util.ArrayList<FAtiMA.Core.wellFormedNames.SubstitutionSet> |
GetValidBindings(FAtiMA.Core.AgentModel am) |
|
FAtiMA.Core.wellFormedNames.Name |
GetValue() |
|
protected java.util.ArrayList<FAtiMA.Core.wellFormedNames.Substitution> |
GetValueBindings(FAtiMA.Core.AgentModel am) |
|
boolean |
isGrounded() |
|
void |
MakeGround(FAtiMA.Core.wellFormedNames.Substitution subst) |
|
void |
MakeGround(java.util.ArrayList<FAtiMA.Core.wellFormedNames.Substitution> bindings) |
|
static SACondition |
ParseSA(org.xml.sax.Attributes attributes) |
Parses a SpreadActivateCondition given a XML attribute list
|
void |
ReplaceUnboundVariables(int variableID) |
protected java.util.Hashtable<java.lang.String,FAtiMA.Core.wellFormedNames.Symbol> _knownVariables
protected java.lang.String _query
protected FAtiMA.Core.wellFormedNames.Symbol _value
public static SACondition ParseSA(org.xml.sax.Attributes attributes)
attributes - - A list of XML attributespublic void AddKnownVariables(java.lang.String name,
FAtiMA.Core.wellFormedNames.Symbol value)
public boolean CheckCondition(FAtiMA.Core.AgentModel am)
CheckCondition in class FAtiMA.Core.conditions.Conditionpublic FAtiMA.Core.wellFormedNames.Name GetValue()
GetValue in class FAtiMA.Core.conditions.Conditionpublic java.lang.String GetQuery()
public java.util.Hashtable<java.lang.String,FAtiMA.Core.wellFormedNames.Symbol> GetKnownVariables()
protected java.util.ArrayList<FAtiMA.Core.wellFormedNames.Substitution> GetValueBindings(FAtiMA.Core.AgentModel am)
GetValueBindings in class FAtiMA.Core.conditions.Conditionpublic java.util.ArrayList<FAtiMA.Core.wellFormedNames.SubstitutionSet> GetValidBindings(FAtiMA.Core.AgentModel am)
GetValidBindings in class FAtiMA.Core.conditions.Conditionpublic java.lang.Object clone()
clone in class FAtiMA.Core.conditions.Conditionpublic void MakeGround(java.util.ArrayList<FAtiMA.Core.wellFormedNames.Substitution> bindings)
MakeGround in interface FAtiMA.Core.wellFormedNames.IGroundableMakeGround in class FAtiMA.Core.conditions.Conditionpublic void MakeGround(FAtiMA.Core.wellFormedNames.Substitution subst)
MakeGround in interface FAtiMA.Core.wellFormedNames.IGroundableMakeGround in class FAtiMA.Core.conditions.Conditionpublic void ReplaceUnboundVariables(int variableID)
ReplaceUnboundVariables in interface FAtiMA.Core.wellFormedNames.IGroundableReplaceUnboundVariables in class FAtiMA.Core.conditions.Conditionpublic boolean isGrounded()
isGrounded in interface FAtiMA.Core.wellFormedNames.IGroundableisGrounded in class FAtiMA.Core.conditions.Condition