9 std::vector < std::pair < GlobalPoint, float > >
weighted;
10 for ( std::vector< PointAndDistance >::const_iterator
i=values.begin();
11 i!=values.end() ; ++
i )
13 float weight =
pow ( 10 + 10000 *
i->second, -2 );
14 weighted.push_back ( std::pair < GlobalPoint, float > (
i->first, weight ) );
GlobalPoint operator()(const std::vector< PointAndDistance > &values) const override
SmsModeFinder3d * clone() const override
SmsModeFinder3d(const SMS &algo=SMS())
Power< A, B >::type pow(const A &a, const B &b)
GlobalPoint location(const std::vector< GlobalPoint > &) const