public class FrostbiteDomain.ActionIdle extends SimpleAction.SimpleDeterministicAction implements FullActionModel
SimpleAction.SimpleDeterministicAction
FullActionModel.FullActionModelHelper
actionObservers, domain, name
Constructor and Description |
---|
FrostbiteDomain.ActionIdle(java.lang.String name,
Domain domain)
Initializes the idle action.
|
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 FrostbiteDomain.ActionIdle(java.lang.String name, Domain domain)
name
- the name of the actiondomain
- the domain of the action.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