public class LunarLanderDomain.ActionThrust extends SimpleAction.SimpleDeterministicAction implements FullActionModel
SimpleAction.SimpleDeterministicActionFullActionModel.FullActionModelHelper| Modifier and Type | Field and Description |
|---|---|
protected double |
thrustValue |
actionObservers, domain, name| Constructor and Description |
|---|
LunarLanderDomain.ActionThrust(java.lang.String name,
Domain domain,
double thrustValue,
LunarLanderDomain.LLPhysicsParams physParams)
Initializes a thrust action for a given thrust force
|
| Modifier and Type | Method and Description |
|---|---|
LunarLanderDomain.LLPhysicsParams |
getPhysParams() |
double |
getThrustValue() |
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.
|
void |
setPhysParams(LunarLanderDomain.LLPhysicsParams physParams) |
void |
setThrustValue(double thrustValue) |
getTransitionsapplicableInState, getAllApplicableGroundedActions, getAssociatedGroundedAction, isParameterized, isPrimitiveaddActionObserver, clearAllActionsObservers, deterministicTransition, equals, getAllApplicableGroundedActionsFromActionList, getDomain, getGroundedAction, getName, hashCode, performAction, performInEnvironmentclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetTransitionspublic LunarLanderDomain.ActionThrust(java.lang.String name,
Domain domain,
double thrustValue,
LunarLanderDomain.LLPhysicsParams physParams)
name - the name of the actiondomain - the domain of the actionthrustValue - the force of thrust for this thrust actionprotected State performActionHelper(State st, GroundedAction groundedAction)
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 Actionst - the state to perform the action ongroundedAction - the GroundedAction specifying the parameters to usepublic double getThrustValue()
public void setThrustValue(double thrustValue)
public LunarLanderDomain.LLPhysicsParams getPhysParams()
public void setPhysParams(LunarLanderDomain.LLPhysicsParams physParams)