Package FAtiMA.Core.plans
Class GoalThreat
java.lang.Object
FAtiMA.Core.plans.GoalThreat
- All Implemented Interfaces:
Serializable
Represents an InterestGoal Threat
- Author:
- Joao Dias
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionGoalThreat(ProtectedCondition precond, IPlanningOperator op, Effect eff) Creates a new GoalThreat -
Method Summary
Modifier and TypeMethodDescriptiongetCond()Gets the Goal's protected condition being threatenedGets the Effect that threatens the protected conditionGets the operator that threatens the protected condition
-
Constructor Details
-
GoalThreat
Creates a new GoalThreat- Parameters:
precond- - the Goal's condition that we want to protect and that is being threatenedop- - the operator that threatens the protected conditioneff- - the effect that threatens the protected condition
-
-
Method Details
-
getCond
Gets the Goal's protected condition being threatened- Returns:
- the Goal's ProtectedCondition
-
getEffect
Gets the Effect that threatens the protected condition- Returns:
- the threatening effect
-
getOperator
Gets the operator that threatens the protected condition- Returns:
- the threatening PlanningOperator
-