comparison SparseHMM.h @ 131:b877df85ad9e fixedlag

mono pitch works now with the refactored HMM implementation
author Matthias Mauch <mail@matthiasmauch.net>
date Fri, 03 Jul 2015 14:09:05 +0100
parents 080fe18f5ebf
children 926c292fa3ff
comparison
equal deleted inserted replaced
130:080fe18f5ebf 131:b877df85ad9e
28 SparseHMM(); 28 SparseHMM();
29 virtual const std::vector<double> 29 virtual const std::vector<double>
30 calculateObsProb(const vector<pair<double, double> >); 30 calculateObsProb(const vector<pair<double, double> >);
31 virtual void build(); 31 virtual void build();
32 const std::vector<int> decodeViterbi(std::vector<vector<double> > obs); 32 const std::vector<int> decodeViterbi(std::vector<vector<double> > obs);
33 void reset();
33 void initialise(vector<double> firstObs); 34 void initialise(vector<double> firstObs);
34 int process(vector<double> newObs); 35 int process(vector<double> newObs);
35 vector<int> finalise(); 36 vector<int> finalise();
36 // "sparse" HMM definition 37 // "sparse" HMM definition
37 int m_nState; 38 int m_nState;