Mercurial > hg > multitrack-audio-matcher
comparison 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 |
comparison
equal
deleted
inserted
replaced
3:5e188c0035b6 | 4:45b5cf9be377 |
---|---|
25 void renormalise(); | 25 void renormalise(); |
26 void translateDistribution(int translationIndex); | 26 void translateDistribution(int translationIndex); |
27 typedef std::vector<double> DoubleVector; | 27 typedef std::vector<double> DoubleVector; |
28 DoubleVector array; | 28 DoubleVector array; |
29 double getMaximum(); | 29 double getMaximum(); |
30 int getMAPestimate(); | |
30 double getIntegratedEstimate(); | 31 double getIntegratedEstimate(); |
31 double getLookupIndex(const int& i, const double& mean, const double& StdDev); | 32 double getLookupIndex(const int& i, const double& mean, const double& StdDev); |
32 void addGaussianShapeByLookupTable(double& mean, double& StdDev, double factor); | 33 void addGaussianShapeByLookupTable(double& mean, double& StdDev, double factor); |
33 double gaussianLookupTable[GAUSSIAN_LOOKUP_LENGTH]; | 34 double gaussianLookupTable[GAUSSIAN_LOOKUP_LENGTH]; |
34 double gaussianLookupMean, gaussianLookupStdDev; | 35 double gaussianLookupMean, gaussianLookupStdDev; |