Exemple #1
0
 public double getTransitionProbability(
     MDPTransition <STATE_TYPE, ACTION_TYPE> transition)
 {
     return(transitionModel.getTransitionProbability(transition
                                                     .getInitialState(), transition.getAction(), transition
                                                     .getDestinationState()));
 }
Exemple #2
0
 public void setTransitionProbability(
     MDPTransition <STATE_TYPE, ACTION_TYPE> transition,
     double probability)
 {
     transitionModel.setTransitionProbability(transition.getInitialState(),
                                              transition.getAction(), transition.getDestinationState(),
                                              probability);
 }