32 double dist(0),
sum(0), mindist=1000000;
33 t_iter index = targetEnc_end;
35 for(
t_iter target = targetEnc_begin; target != targetEnc_end; ++target) {
38 c_iter t = (*target).begin();
39 c_iter c = currentEnc_begin;
40 while( t != (*target).end() && c != currentEnc_end) {
41 sum += pow2<double>( *t - *c);
std::vector< encoders >::const_iterator t_iter
t_iter operator()(t_iter targetEnc_begin, t_iter targetEnc_end, c_iter currentEnc_begin, c_iter currentEnc_end)
encoders::const_iterator c_iter
Real sum(const BaseMatrix &B)