Package edu.uky.ai.planning.ps
Class ThreatenedCausalLinkFlaw
java.lang.Object
edu.uky.ai.planning.ps.Flaw
edu.uky.ai.planning.ps.ThreatenedCausalLinkFlaw
- All Implemented Interfaces:
Partial
An threatened causal link flaw indicates that a partial plan contains a
causal link such that the effect of its tail step might be undone by some
other step in the plan (the threat) before it is used by the causal link's
tail step.
- Author:
- Stephen G. Ware
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal CausalLink
The threatened causal linkfinal PartialStep
The threatening step -
Constructor Summary
ConstructorsConstructorDescriptionThreatenedCausalLinkFlaw
(CausalLink link, PartialStep threat) Constructs a new threatened causal link flaw for the given causal link and threatening step. -
Method Summary
Modifier and TypeMethodDescriptiontoString
(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
-
link
The threatened causal link -
threat
The threatening step
-
-
Constructor Details
-
ThreatenedCausalLinkFlaw
Constructs a new threatened causal link flaw for the given causal link and threatening step.- Parameters:
link
- the threatened causal linkthreat
- the threatening step
-
-
Method Details
-
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
-