|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectViterbi2
public class Viterbi2
This is a template for a Viterbi2 class, which can be used to compute most likely sequences using a second-order HMM. Fill in code for the constructor and mostLikelySequence method.
Constructor Summary | |
---|---|
Viterbi2(Hmm2 hmm)
|
Method Summary | |
---|---|
int[] |
mostLikelySequence(int[] output)
Returns the most likely state sequence for the given output sequence, i.e., the state sequence of highest conditional probability given the output sequence, according to the second-order HMM that was provided to the constructor. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Viterbi2(Hmm2 hmm)
Method Detail |
---|
public int[] mostLikelySequence(int[] output)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |