FAtiMA.Core.plans.IPlanningOperator, FAtiMA.Core.wellFormedNames.IGroundable, java.io.Serializable, java.lang.Cloneablepublic class Ritual
extends FAtiMA.Core.goals.ActivePursuitGoal
| Constructor | Description |
|---|---|
Ritual(FAtiMA.Core.wellFormedNames.Name description) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
AddLink(int before,
int after) |
|
void |
AddRole(FAtiMA.Core.wellFormedNames.Symbol role) |
|
void |
AddStep(FAtiMA.Core.AgentModel am,
FAtiMA.Core.wellFormedNames.Name actionName,
FAtiMA.Core.wellFormedNames.Name role) |
|
void |
BuildPlan(FAtiMA.Core.AgentModel am) |
|
java.lang.Object |
clone() |
Clones this ActivePursuitGoal, returning an equal copy.
|
java.util.ArrayList<FAtiMA.Core.wellFormedNames.SubstitutionSet> |
findMatchWithStep(FAtiMA.Core.wellFormedNames.Symbol agent,
FAtiMA.Core.wellFormedNames.Name stepName) |
|
protected FAtiMA.Core.sensorEffector.Event |
generateEventDescription(short goalEventType) |
|
FAtiMA.Core.plans.Plan |
getPlan() |
|
java.util.ArrayList<FAtiMA.Core.plans.Plan> |
getPlans(FAtiMA.Core.AgentModel am) |
|
float |
getProbability(FAtiMA.Core.AgentModel am) |
|
java.util.ArrayList<FAtiMA.Core.wellFormedNames.Symbol> |
GetRoles() |
|
void |
MakeGround(FAtiMA.Core.wellFormedNames.Substitution subst) |
Applies a set of substitutions to the object, grounding it.
|
void |
MakeGround(java.util.ArrayList<FAtiMA.Core.wellFormedNames.Substitution> bindings) |
Applies a set of substitutions to the object, grounding it.
|
void |
ReplaceUnboundVariables(int variableID) |
Replaces all unbound variables in the object by applying a numeric
identifier to each one.
|
java.lang.String |
toString() |
AddCondition, addEffect, CheckFailure, CheckIntegrity, checkPreconditions, CheckSuccess, equals, getAgent, getEffect, getEffects, GetFailureConditions, GetGoalUrgency, getID, getNameWithCharactersOrdered, GetNumberOfTries, getPrecondition, getPreconditions, GetPreconditions, GetProbability, GetSuccessConditions, getUncertainty, IncrementNumberOfTries, mayContainSelf, setID, SetProbability, setUncertainty, setUrgency, updateEffectsProbabilityDecreaseImportanceOfFailure, DecreaseImportanceOfSuccess, GenerateGoalStatus, GetActivationEvent, getAppliedSubstitutions, GetCancelEvent, GetFailureEvent, GetImportanceOfFailure, GetImportanceOfSuccess, getKey, getName, GetSuccessEvent, GroundConditionList, IncreaseImportanceOfFailure, IncreaseImportanceOfSuccess, isGrounded, SetImportanceOfFailure, SetImportanceOfSuccesspublic void AddStep(FAtiMA.Core.AgentModel am,
FAtiMA.Core.wellFormedNames.Name actionName,
FAtiMA.Core.wellFormedNames.Name role)
public void AddLink(int before,
int after)
public void AddRole(FAtiMA.Core.wellFormedNames.Symbol role)
public java.util.ArrayList<FAtiMA.Core.wellFormedNames.Symbol> GetRoles()
public void BuildPlan(FAtiMA.Core.AgentModel am)
public java.util.ArrayList<FAtiMA.Core.plans.Plan> getPlans(FAtiMA.Core.AgentModel am)
getPlans in class FAtiMA.Core.goals.ActivePursuitGoalpublic FAtiMA.Core.plans.Plan getPlan()
public java.lang.String toString()
toString in class FAtiMA.Core.goals.ActivePursuitGoalpublic void ReplaceUnboundVariables(int variableID)
ReplaceUnboundVariables in interface FAtiMA.Core.wellFormedNames.IGroundableReplaceUnboundVariables in class FAtiMA.Core.goals.ActivePursuitGoalvariableID - - the identifier to be appliedFAtiMA.Core.exceptions.InvalidReplaceUnboundVariableExceptionpublic void MakeGround(java.util.ArrayList<FAtiMA.Core.wellFormedNames.Substitution> bindings)
MakeGround in interface FAtiMA.Core.wellFormedNames.IGroundableMakeGround in class FAtiMA.Core.goals.ActivePursuitGoalbindings - - A list of substitutions of the type "[Variable]/value"Substitutionpublic void MakeGround(FAtiMA.Core.wellFormedNames.Substitution subst)
MakeGround in interface FAtiMA.Core.wellFormedNames.IGroundableMakeGround in class FAtiMA.Core.goals.ActivePursuitGoalsubst - - a substitution of the type "[Variable]/value"Substitutionpublic java.lang.Object clone()
clone in interface FAtiMA.Core.plans.IPlanningOperatorclone in class FAtiMA.Core.goals.ActivePursuitGoalpublic java.util.ArrayList<FAtiMA.Core.wellFormedNames.SubstitutionSet> findMatchWithStep(FAtiMA.Core.wellFormedNames.Symbol agent,
FAtiMA.Core.wellFormedNames.Name stepName)
public float getProbability(FAtiMA.Core.AgentModel am)
getProbability in interface FAtiMA.Core.plans.IPlanningOperatorgetProbability in class FAtiMA.Core.goals.ActivePursuitGoalprotected FAtiMA.Core.sensorEffector.Event generateEventDescription(short goalEventType)
generateEventDescription in class FAtiMA.Core.goals.Goal