Mercurial > hg > midi-score-follower
comparison src/BayesianArrayStructure.h @ 14:3f103cf78148
Checking to allow offline version
author | Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk> |
---|---|
date | Thu, 10 Nov 2011 17:29:45 +0000 |
parents | 75dcd1308658 |
children | c7107e5c8f03 |
comparison
equal
deleted
inserted
replaced
13:bba4a9da57f1 | 14:3f103cf78148 |
---|---|
63 void resetSpeedToOne(); | 63 void resetSpeedToOne(); |
64 void addGaussianNoiseToSpeedPosterior(const double& std_dev); | 64 void addGaussianNoiseToSpeedPosterior(const double& std_dev); |
65 void addTriangularNoiseToSpeedPosterior(const double& std_dev); | 65 void addTriangularNoiseToSpeedPosterior(const double& std_dev); |
66 | 66 |
67 double bestEstimate; | 67 double bestEstimate; |
68 void updateBestEstimate(); | 68 void updateBestEstimate(const double& timeDifference); |
69 double lastBestEstimateUpdateTime; | 69 double lastBestEstimateUpdateTime; |
70 double speedEstimate; | 70 double speedEstimate; |
71 | 71 |
72 double speedDecayWidth, speedDecayAmount; | 72 double speedDecayWidth, speedDecayAmount; |
73 void decaySpeedDistribution(double timeDifference); | 73 void decaySpeedDistribution(double timeDifference); |
88 void complexCrossUpdate(const double& timeDifferenceInPositionVectorUnits); | 88 void complexCrossUpdate(const double& timeDifferenceInPositionVectorUnits); |
89 void translateByMaximumSpeed(const double& timeDifferenceInPositionVectorUnits); | 89 void translateByMaximumSpeed(const double& timeDifferenceInPositionVectorUnits); |
90 double crossUpdateTimeThreshold;//time after which we do complex update of multiple speeds | 90 double crossUpdateTimeThreshold;//time after which we do complex update of multiple speeds |
91 | 91 |
92 double speedPriorValue; | 92 double speedPriorValue; |
93 | 93 int priorWidth; |
94 bool* realTimeMode; | |
94 | 95 |
95 }; | 96 }; |
96 #endif | 97 #endif |