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