public static class RLGlueDomain.RLGlueActionSpecification extends SimpleAction
Action that corresponds to an RLGlue action that is defined by a single int value.SimpleAction.SimpleDeterministicAction| Modifier and Type | Field and Description |
|---|---|
protected int |
ind
The RLGlue action index
|
actionObservers, domain, name| Constructor and Description |
|---|
RLGlueDomain.RLGlueActionSpecification(Domain domain,
int ind)
Initiaizes.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getInd()
Returns the RLGlue int identifier of this action
|
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 RLGlueDomain.RLGlueActionSpecification(Domain domain, int ind)
domain - the BURLAP domain to which the action will belong.ind - the RLGlue int identifier of the actionpublic int getInd()
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 use