68 std::vector<std::size_t>
leastContributors( ParetoFrontType
const& front, ParetoArchive
const& archive, std::size_t K)
const{
69 std::vector<std::size_t> indices;
70 std::vector<RealVector> points(front.begin(),front.end());
71 std::vector<std::size_t> activeIndices(points.size());
72 std::iota(activeIndices.begin(),activeIndices.end(),0);
73 for(std::size_t k=0; k != K; ++k){
76 points.erase(points.begin()+index);
77 indices.push_back(activeIndices[index]);
78 activeIndices.erase(activeIndices.begin()+index);