Mercurial > hg > multitrack-audio-matcher
diff bayesianArraySrc/DynamicVector.h @ 4:45b5cf9be377
checking through Bayesian update procedure - working without cross update method.
author | Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk> |
---|---|
date | Thu, 02 Feb 2012 12:13:44 +0000 |
parents | 179c09199b3c |
children | 746a5af43c02 |
line wrap: on
line diff
--- a/bayesianArraySrc/DynamicVector.h Wed Feb 01 16:05:26 2012 +0000 +++ b/bayesianArraySrc/DynamicVector.h Thu Feb 02 12:13:44 2012 +0000 @@ -27,6 +27,7 @@ typedef std::vector<double> DoubleVector; DoubleVector array; double getMaximum(); + int getMAPestimate(); double getIntegratedEstimate(); double getLookupIndex(const int& i, const double& mean, const double& StdDev); void addGaussianShapeByLookupTable(double& mean, double& StdDev, double factor);