Mercurial > hg > multitrack-audio-matcher
diff bayesianArraySrc/BayesianArrayStructure.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 | c4f9e49226eb |
children | 746a5af43c02 |
line wrap: on
line diff
--- a/bayesianArraySrc/BayesianArrayStructure.h Wed Feb 01 16:05:26 2012 +0000 +++ b/bayesianArraySrc/BayesianArrayStructure.h Thu Feb 02 12:13:44 2012 +0000 @@ -54,7 +54,8 @@ DynamicVector acceleration; double tmpBestEstimate; - void updateTmpBestEstimate(const double& timeDifference); + +// void updateTmpBestEstimate(const double& timeDifference); int updateCounter; @@ -68,6 +69,7 @@ void updateBestEstimate(const double& timeDifference); double lastBestEstimateUpdateTime; double speedEstimate, speedEstimateIndex; + double getSpeedEstimateIndex(); double speedDecayWidth, speedDecayAmount; void decaySpeedDistribution(double timeDifference);