public class NullAction extends SimpleAction.SimpleDeterministicAction implements FullActionModel
SimpleAction.SimpleDeterministicAction
FullActionModel.FullActionModelHelper
actionObservers, domain, name
Constructor and Description |
---|
NullAction(java.lang.String name) |
NullAction(java.lang.String name,
Domain domain) |
Modifier and Type | Method and Description |
---|---|
protected State |
performActionHelper(State st,
GroundedAction groundedAction)
This method determines what happens when an action is applied in the given state with the given parameters.
|
getTransitions
applicableInState, getAllApplicableGroundedActions, getAssociatedGroundedAction, isParameterized, isPrimitive
addActionObserver, clearAllActionsObservers, deterministicTransition, equals, getAllApplicableGroundedActionsFromActionList, getDomain, getGroundedAction, getName, hashCode, performAction, performInEnvironment
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getTransitions
public NullAction(java.lang.String name)
public NullAction(java.lang.String name, Domain domain)
protected State performActionHelper(State st, GroundedAction groundedAction)
Action
Action.performAction(burlap.oomdp.core.states.State, GroundedAction)
first copies the input state to pass
to this helper method. The resulting state (which may be s) should then be returned.performActionHelper
in class Action
st
- the state to perform the action ongroundedAction
- the GroundedAction
specifying the parameters to use