Element 'the viterbi algorithm'