Package FAtiMA.Core.plans
Class ProtectedCondition
java.lang.Object
FAtiMA.Core.plans.ProtectedCondition
- All Implemented Interfaces:
Serializable
Represents an InterestGoal's ProtectedCondition that we want to preserve
during the planning proccess.
- Author:
- Joao Dias
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionProtectedCondition(Goal goal, Condition cond) Creates a new ProtectedCondition -
Method Summary
-
Constructor Details
-
ProtectedCondition
Creates a new ProtectedCondition- Parameters:
goal- - the InterestGoal that this ProtectedCondition referencescond- - the condition that we want to protect
-
-
Method Details
-
getCond
Gets the condition that we want to protect- Returns:
- - the protected condition
-
getGoal
Gets the Goal that wants the condition to be protected- Returns:
- the Interest Goal that protects the condition
-
toString
Converts the ProtectedCondition to a String
-