public abstract static class SimpleAction.SimpleDeterministicAction extends SimpleAction implements FullActionModel
Action.performActionHelper(burlap.oomdp.core.states.State, burlap.oomdp.singleagent.GroundedAction)
method needs to be implemented by a subclass The FullActionModel.getTransitions(burlap.oomdp.core.states.State, burlap.oomdp.singleagent.GroundedAction)
method is pre-implemented by getting the deterministic result from the implementation of Action.performActionHelper(burlap.oomdp.core.states.State, burlap.oomdp.singleagent.GroundedAction)
.SimpleAction.SimpleDeterministicAction
FullActionModel.FullActionModelHelper
actionObservers, domain, name
Constructor and Description |
---|
SimpleAction.SimpleDeterministicAction() |
SimpleAction.SimpleDeterministicAction(java.lang.String name,
Domain domain) |
Modifier and Type | Method and Description |
---|---|
java.util.List<TransitionProbability> |
getTransitions(State s,
GroundedAction groundedAction)
Returns the transition probabilities for applying this action in the given state with the given set of parameters.
|
applicableInState, getAllApplicableGroundedActions, getAssociatedGroundedAction, isParameterized, isPrimitive
addActionObserver, clearAllActionsObservers, deterministicTransition, equals, getAllApplicableGroundedActionsFromActionList, getDomain, getGroundedAction, getName, hashCode, performAction, performActionHelper, performInEnvironment
public SimpleAction.SimpleDeterministicAction()
public SimpleAction.SimpleDeterministicAction(java.lang.String name, Domain domain)
public java.util.List<TransitionProbability> getTransitions(State s, GroundedAction groundedAction)
FullActionModel
TransitionProbability
objects. The list
is only required to contain transitions with non-zero probability.getTransitions
in interface FullActionModel
s
- the state from which the transition probabilities when applying this action will be returned.groundedAction
- the GroundedAction
specifying the parameters to use