You are right, your implementation of the data matrix is much cleaner. I was not aware of that notation. min() is a subroutine that I did not include. It does exactly what it sounds like, returns the minimum of two values in a list.
I will try to implement the code with this notation and see if the algorithm is easier to implement.
In reply to Re^2: Viterbi application
by azheid
in thread Viterbi application
by azheid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |