comparison 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
comparison
equal deleted inserted replaced
3:5e188c0035b6 4:45b5cf9be377
52 DynamicVector relativeSpeedLikelihood; 52 DynamicVector relativeSpeedLikelihood;
53 DynamicVector relativeSpeedPosterior; 53 DynamicVector relativeSpeedPosterior;
54 DynamicVector acceleration; 54 DynamicVector acceleration;
55 55
56 double tmpBestEstimate; 56 double tmpBestEstimate;
57 void updateTmpBestEstimate(const double& timeDifference); 57
58 // void updateTmpBestEstimate(const double& timeDifference);
58 59
59 int updateCounter; 60 int updateCounter;
60 61
61 void setPositionDistributionScalar(double f); 62 void setPositionDistributionScalar(double f);
62 63
66 67
67 double bestEstimate; 68 double bestEstimate;
68 void updateBestEstimate(const double& timeDifference); 69 void updateBestEstimate(const double& timeDifference);
69 double lastBestEstimateUpdateTime; 70 double lastBestEstimateUpdateTime;
70 double speedEstimate, speedEstimateIndex; 71 double speedEstimate, speedEstimateIndex;
72 double getSpeedEstimateIndex();
71 73
72 double speedDecayWidth, speedDecayAmount; 74 double speedDecayWidth, speedDecayAmount;
73 void decaySpeedDistribution(double timeDifference); 75 void decaySpeedDistribution(double timeDifference);
74 76
75 void resetSpeedSize(int length); 77 void resetSpeedSize(int length);