|Constructor and Description|
|Modifier and Type||Method and Description|
Samples a state from fully enumerated transition dynamics that are defined with the
public static State sampleTransitionFromEnumeratedDistribution(State previousState, GroundedAction action)
FullActionModel.getTransitions(burlap.oomdp.core.states.State, GroundedAction)method. This method is implement by first getting the enumerated transitions, rolling a random number, and selecting a next state transition from the enumerated transitions according to their assigned probability.
public static java.util.List<TransitionProbability> removeZeroProbTransitions(java.util.List<TransitionProbability> sourceTransitions)
Statetransitions specified with
TransitionProbabilityobjects, and returns a new list of
TransitionProbabilityobjects that excludes any objects assigned probability 0.
sourceTransitions- the original list of state transitions
TransitionProbabilityobjects without any with probability 0.