Mercurial > hg > midi-score-follower
diff src/BayesianArrayStructure.h @ 4:4a8e6a6cd224
optimised draw function in dynamic vector class. Added Gaussian lookup but not yet used.
author | Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk> |
---|---|
date | Fri, 19 Aug 2011 15:53:04 +0100 |
parents | de86d77f2612 |
children | 75dcd1308658 |
line wrap: on
line diff
--- a/src/BayesianArrayStructure.h Fri Aug 19 02:36:34 2011 +0100 +++ b/src/BayesianArrayStructure.h Fri Aug 19 15:53:04 2011 +0100 @@ -84,8 +84,12 @@ void updateTempoLikelihood(const double& speedRatio, const double& matchFactor); void crossUpdateArrays(DynamicVector& position, DynamicVector& speed, double timeDifference); + void complexCrossUpdate(const double& timeDifferenceInPositionVectorUnits); + void translateByMaximumSpeed(const double& timeDifferenceInPositionVectorUnits); + double crossUpdateTimeThreshold;//time after which we do complex update of multiple speeds double speedPriorValue; + }; #endif