public class TransitionProb
extends java.lang.Object
EnvironmentOutcome
object, which specifies the previous state/observation of the environment, the action take, the next state/observation,
the reward received, and whether the transition led to a terminal state.Modifier and Type | Field and Description |
---|---|
EnvironmentOutcome |
eo
The transition
|
double |
p
The probability of the transition
|
Constructor and Description |
---|
TransitionProb()
Default constructor, primarily for serialization purposes.
|
TransitionProb(double p,
EnvironmentOutcome eo)
Initializes
|
public double p
public EnvironmentOutcome eo
public TransitionProb()
public TransitionProb(double p, EnvironmentOutcome eo)
p
- the probability of the transitioneo
- the transition