Package edu.uky.ai.planning.ps
Class OpenPreconditionFlaw
java.lang.Object
edu.uky.ai.planning.ps.Flaw
edu.uky.ai.planning.ps.OpenPreconditionFlaw
- All Implemented Interfaces:
Partial
An open precondition flaw indicates that a partial plan has not yet
guaranteed that some precondition of some step will be satisfied.
- Author:
- Stephen G. Ware
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal Literal
The precondition of the step that needs to be satisfiedfinal PartialStep
The step for which some precondition has not been satisfied -
Constructor Summary
ConstructorsConstructorDescriptionOpenPreconditionFlaw
(PartialStep step, Literal precondition) Constructs a new open precondition flaw for a given step and precondition. -
Method Summary
Modifier and TypeMethodDescriptiontoString()
toString
(Substitution substitution) Returns a string representation of this object in which all variables which have values in the given substitution have been replaced with those values.
-
Field Details
-
step
The step for which some precondition has not been satisfied -
precondition
The precondition of the step that needs to be satisfied
-
-
Constructor Details
-
OpenPreconditionFlaw
Constructs a new open precondition flaw for a given step and precondition.- Parameters:
step
- the step for which a precondition has not yet been satisfiedprecondition
- the precondition of the step which needs to be satisfied
-
-
Method Details
-
toString
-
toString
Description copied from interface:Partial
Returns a string representation of this object in which all variables which have values in the given substitution have been replaced with those values.- Parameters:
substitution
- a substitution which may contain values for variabels used in this object- Returns:
- a string
-