Class FailureInformation

java.lang.Object
edu.tufts.hrilab.action.recovery.FailureInformation

public class FailureInformation extends Object
  • Field Details

    • actor

      public Symbol actor
    • contextType

      public RecoveryType contextType
    • goal

      public Predicate goal
    • failedActions

      public List<Predicate> failedActions
    • failureReasons

      public List<Predicate> failureReasons
    • actionStatus

      public ActionStatus actionStatus
    • excludedPolicies

      public List<String> excludedPolicies
    • catchingContext

      public Predicate catchingContext
    • isCatchingContextParent

      public boolean isCatchingContextParent
  • Constructor Details

    • FailureInformation

      public FailureInformation()
  • Method Details

    • getNumberOfConstraintMatches

      public int getNumberOfConstraintMatches(PolicyConstraints constraints)
      Get the match score for this FailureInformation compared against the PolicyConstraints. Any value >= 0 indicates a match. Negative values indicate no match.
      Parameters:
      constraints -
      Returns:
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object