To estimate the optimal state sequence, we propose the new algorithm called the forward algorithm.
This algorithm summarizes the likelihood for all states. The optimal state sequence is then chosen as the maximum likelihood state at each time (frame).
This forward algorithm is described as follows.