Mercurial > hg > midi-score-follower
comparison 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 |
comparison
equal
deleted
inserted
replaced
3:de86d77f2612 | 4:4a8e6a6cd224 |
---|---|
82 void setFlatTempoLikelihood(); | 82 void setFlatTempoLikelihood(); |
83 void calculateTempoUpdate(); | 83 void calculateTempoUpdate(); |
84 void updateTempoLikelihood(const double& speedRatio, const double& matchFactor); | 84 void updateTempoLikelihood(const double& speedRatio, const double& matchFactor); |
85 | 85 |
86 void crossUpdateArrays(DynamicVector& position, DynamicVector& speed, double timeDifference); | 86 void crossUpdateArrays(DynamicVector& position, DynamicVector& speed, double timeDifference); |
87 void complexCrossUpdate(const double& timeDifferenceInPositionVectorUnits); | |
88 void translateByMaximumSpeed(const double& timeDifferenceInPositionVectorUnits); | |
89 double crossUpdateTimeThreshold;//time after which we do complex update of multiple speeds | |
87 | 90 |
88 double speedPriorValue; | 91 double speedPriorValue; |
89 | 92 |
93 | |
90 }; | 94 }; |
91 #endif | 95 #endif |