Package edu.tufts.hrilab.action.recovery
Class FailureInformation
java.lang.Object
edu.tufts.hrilab.action.recovery.FailureInformation
-
Field Summary
FieldsModifier and TypeFieldDescriptionboolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanintgetNumberOfConstraintMatches(PolicyConstraints constraints) Get the match score for this FailureInformation compared against the PolicyConstraints.inthashCode()
-
Field Details
-
actor
-
contextType
-
goal
-
failedActions
-
failureReasons
-
actionStatus
-
excludedPolicies
-
catchingContext
-
isCatchingContextParent
public boolean isCatchingContextParent
-
-
Constructor Details
-
FailureInformation
public FailureInformation()
-
-
Method Details
-
getNumberOfConstraintMatches
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
-
hashCode
public int hashCode()
-