Class ThreatenedCausalLinkFlaw

java.lang.Object
edu.uky.ai.planning.ps.Flaw
edu.uky.ai.planning.ps.ThreatenedCausalLinkFlaw
All Implemented Interfaces:
Partial

public class ThreatenedCausalLinkFlaw extends Flaw
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 Details

    • threat

      public final PartialStep threat
      The threatening step
  • Constructor Details

    • ThreatenedCausalLinkFlaw

      public ThreatenedCausalLinkFlaw(CausalLink link, PartialStep threat)
      Constructs a new threatened causal link flaw for the given causal link and threatening step.
      Parameters:
      link - the threatened causal link
      threat - the threatening step
  • Method Details

    • toString

      public String toString(Substitution substitution)
      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