aima.probability.reasoning
Class HiddenMarkovModel

java.lang.Object
  extended by aima.probability.reasoning.HiddenMarkovModel

public class HiddenMarkovModel
extends java.lang.Object


Constructor Summary
HiddenMarkovModel(RandomVariable priorDistribution, TransitionModel tm, SensorModel sm)
           
 
Method Summary
 RandomVariable calculate_next_backward_message(RandomVariable forwardBelief, RandomVariable present_backward_message, java.lang.String perception)
           
 java.util.List<RandomVariable> forward_backward(java.util.List<java.lang.String> perceptions)
           
 RandomVariable forward(RandomVariable aBelief, java.lang.String perception)
           
 RandomVariable forward(RandomVariable aBelief, java.lang.String action, java.lang.String perception)
           
 RandomVariable perceptionUpdate(RandomVariable aBelief, java.lang.String perception)
           
 RandomVariable predict(RandomVariable aBelief, java.lang.String action)
           
 RandomVariable prior()
           
 SensorModel sensorModel()
           
 TransitionModel transitionModel()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HiddenMarkovModel

public HiddenMarkovModel(RandomVariable priorDistribution,
                         TransitionModel tm,
                         SensorModel sm)
Method Detail

prior

public RandomVariable prior()

predict

public RandomVariable predict(RandomVariable aBelief,
                              java.lang.String action)

perceptionUpdate

public RandomVariable perceptionUpdate(RandomVariable aBelief,
                                       java.lang.String perception)

forward

public RandomVariable forward(RandomVariable aBelief,
                              java.lang.String action,
                              java.lang.String perception)

forward

public RandomVariable forward(RandomVariable aBelief,
                              java.lang.String perception)

calculate_next_backward_message

public RandomVariable calculate_next_backward_message(RandomVariable forwardBelief,
                                                      RandomVariable present_backward_message,
                                                      java.lang.String perception)

forward_backward

public java.util.List<RandomVariable> forward_backward(java.util.List<java.lang.String> perceptions)

sensorModel

public SensorModel sensorModel()

transitionModel

public TransitionModel transitionModel()