Package edu.uky.ai.planning.ps
Class CausalLink
java.lang.Object
edu.uky.ai.planning.ps.CausalLink
- All Implemented Interfaces:
Partial
A causal link describes how the effect of an earlier step (the tail)
satisfied the precondition of a later step (the head).
- Author:
- Stephen G. Ware
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal PartialStep
The later stepfinal Literal
The fact that is an effect of the tail and a precondition of the headfinal PartialStep
The earlier step -
Constructor Summary
ConstructorsConstructorDescriptionCausalLink
(PartialStep tail, Literal label, PartialStep head) Constructs a new causal link with the given tail, label, and head. -
Method Summary
-
Field Details
-
tail
The earlier step -
label
The fact that is an effect of the tail and a precondition of the head -
head
The later step
-
-
Constructor Details
-
CausalLink
Constructs a new causal link with the given tail, label, and head.- Parameters:
tail
- the earlier steplabel
- the fact establishedhead
- the later step
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
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.
-