84 std::vector<KeyValuePair<double,std::size_t> >
smallest(Set
const& points, std::size_t k,
VectorType const& ref)
const{
86 SIZE_CHECK( points.begin()->size() == ref.size() );
87 std::size_t numObjectives = ref.size();
88 if(numObjectives == 2){
90 return algorithm.
smallest(points, k, ref);
91 }
else if(numObjectives == 3){
93 return algorithm.
smallest(points, k, ref);
94 }
else if(m_useApproximation){
95 return m_approximationAlgorithm.
smallest(points, k, ref);
98 return algorithm.
smallest(points, k, ref);