15 template <
typename Likelihood,
typename Map>
26 template <
typename Likelihood,
typename Map>
31 template <
typename Likelihood,
typename Map>
45 double itBestScore=bestScore;
50 double testBestScore=itBestScore;
58 case Left: testPose.
y+=lstep;
60 case Right: testPose.
y-=lstep;
68 if (score>testBestScore){
70 testBestPose=testPose;
73 if (testBestScore > itBestScore){
74 itBestScore=testBestScore;
75 itBestPose=testBestPose;
80 if (itBestScore > bestScore){
82 bestScore=itBestScore;
96 template <
typename Likelihood,
typename Map>
107 double itBestScore=bestScore;
112 double testBestScore=itBestScore;
120 case Left: testPose.
y+=lstep;
122 case Right: testPose.
y-=lstep;
130 if (score>testBestScore){
132 testBestPose=testPose;
135 if (testBestScore > itBestScore){
136 itBestScore=testBestScore;
137 itBestPose=testBestPose;
142 if (itBestScore > bestScore){
144 bestScore=itBestScore;
const char *const *argv double delta
const OrientedPoint & getPose() const
orientedpoint< T, A > absoluteDifference(const orientedpoint< T, A > &p1, const orientedpoint< T, A > &p2)
Optimizer(const OptimizerParams ¶ms)
OrientedPoint gradientDescent(const RangeReading &oldReading, const RangeReading &newReading)
orientedpoint< double, double > OrientedPoint