public class TigerDomain.OpenAction extends SimpleAction implements FullActionModel
SimpleAction.SimpleDeterministicActionFullActionModel.FullActionModelHelperactionObservers, domain, name| Constructor and Description |
|---|
TigerDomain.OpenAction(java.lang.String actionName,
Domain domain) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<TransitionProbability> |
getTransitions(State s,
GroundedAction ga)
Returns the transition probabilities for applying this action in the given state with the given set of parameters.
|
protected State |
performActionHelper(State s,
GroundedAction ga)
This method determines what happens when an action is applied in the given state with the given parameters.
|
applicableInState, getAllApplicableGroundedActions, getAssociatedGroundedAction, isParameterized, isPrimitiveaddActionObserver, clearAllActionsObservers, deterministicTransition, equals, getAllApplicableGroundedActionsFromActionList, getDomain, getGroundedAction, getName, hashCode, performAction, performInEnvironmentpublic TigerDomain.OpenAction(java.lang.String actionName,
Domain domain)
protected State performActionHelper(State s, GroundedAction ga)
ActionAction.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 Actions - the state to perform the action onga - the GroundedAction specifying the parameters to usepublic java.util.List<TransitionProbability> getTransitions(State s, GroundedAction ga)
FullActionModelTransitionProbability objects. The list
is only required to contain transitions with non-zero probability.getTransitions in interface FullActionModels - the state from which the transition probabilities when applying this action will be returned.ga - the GroundedAction specifying the parameters to use