comparison bayesianArraySrc/BayesianArrayStructure.h @ 6:746a5af43c02

windowed bayesian distributions - drawn within constrained portion of the screen
author Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk>
date Thu, 02 Feb 2012 17:52:08 +0000
parents 45b5cf9be377
children 33dedfe32893
comparison
equal deleted inserted replaced
5:5ef00d1dfe68 6:746a5af43c02
84 void updateTempoLikelihood(const double& speedRatio, const double& matchFactor); 84 void updateTempoLikelihood(const double& speedRatio, const double& matchFactor);
85 void updateTempoDistribution(); 85 void updateTempoDistribution();
86 86
87 void calculateTempoUpdate(); 87 void calculateTempoUpdate();
88 88
89 void updateBayesianDistributions(const double& newEventTime);
89 void crossUpdateArrays(DynamicVector& position, DynamicVector& speed, double timeDifference); 90 void crossUpdateArrays(DynamicVector& position, DynamicVector& speed, double timeDifference);
90 void complexCrossUpdate(const double& timeDifferenceInPositionVectorUnits); 91 void complexCrossUpdate(const double& timeDifferenceInPositionVectorUnits);
91 void translateByMaximumSpeed(const double& timeDifferenceInPositionVectorUnits); 92 void translateByMaximumSpeed(const double& timeDifferenceInPositionVectorUnits);
92 double crossUpdateTimeThreshold;//time after which we do complex update of multiple speeds 93 double crossUpdateTimeThreshold;//time after which we do complex update of multiple speeds
93 94
94 double speedPriorValue; 95 double speedPriorValue;
95 int priorWidth; 96 int priorWidth;
96 bool* realTimeMode; 97 bool* realTimeMode;
97 bool usingIntegratedTempoEstimate; 98 bool usingIntegratedTempoEstimate;
98 double relativeSpeedLikelihoodStdDev; 99 double relativeSpeedLikelihoodStdDev;
100
101 void printPostOffset();
99 102
100 }; 103 };
101 #endif 104 #endif