Beispiel #1
0
PosteriorViterbi::PosteriorViterbi(HMM &hmm,
				   bool shouldAdd)
  : numStates(hmm.countStates()), hmmGraph(hmm),
    addRatherThanMultiply(shouldAdd)
{
  // ctor
}
Beispiel #2
0
FastViterbi::FastViterbi(HMM &hmm,bool posterior)
  : numStates(hmm.countStates()), hmmGraph(hmm), posterior(posterior)
{
  // ctor
}