Class NotContext
java.lang.Object
edu.tufts.hrilab.action.execution.Context
edu.tufts.hrilab.action.execution.control.NotContext
-
Field Summary
Fields inherited from class edu.tufts.hrilab.action.execution.Context
caller, childContexts, cmd, constraints, endTime, log, maxTime, startTime, stateMachine -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeep copy of the context, its status, and its childrenbooleanOverride default implementation to ignore ActionStatus of NotContext, and only depend on the logical value of the child context.protected ContextGet the next step (i.e., context) to be executed.Methods inherited from class edu.tufts.hrilab.action.execution.Context
acquireLocks, addEvent, addEvent, addEvent, causedFailure, copyInternal, createSimulatedEquivalent, doStep, getActor, getActualLogicalValue, getArgument, getArguments, getArgumentSilent, getArgumentType, getArgumentValue, getChildContexts, getCommand, getConstraints, getContextDescription, getContextDescription, getDuration, getElapsedTime, getEndTime, getEquivalentContext, getEvaluatedArgument, getExecType, getId, getJustification, getLocalArgument, getMaxTime, getNearestTerminatedAncestor, getNextStep, getParentContext, getRootContext, getSignatureInPredicateForm, getStartTime, getStateMachine, getStateUpdates, getStatus, hasNormCheckingAncestor, isAction, isApproved, isAsynchronous, isFailure, isSimulation, isSuccess, isTerminated, performAdditionalStatusUpdates, releaseLocks, resetConcreteContext, resetContext, resetCoreContext, setChildContexts, setConstraints, setEndTime, setExecType, setLogicalValue, setStartTime, setStartTime, setStateMachine, setStatus, setStatus, setTimeout, setupNextStep, setupNextStep, startOverAllMonitor, toString, updatePerformanceModels, verifyEffects, verifyReturnValue, waitForTermination, waitForTermination
-
Constructor Details
-
NotContext
-
-
Method Details
-
getNextStepForType
Description copied from class:ContextGet the next step (i.e., context) to be executed. Returns null if there are no more steps. TODO: remove this method- Overrides:
getNextStepForTypein classContext- Returns:
-
getLogicalValue
public boolean getLogicalValue()Override default implementation to ignore ActionStatus of NotContext, and only depend on the logical value of the child context.- Overrides:
getLogicalValuein classContext- Returns:
-
copy
Description copied from class:Contextdeep copy of the context, its status, and its children
-