54 InIterator it, InIterator itE,
55 OutIterator out, OutIterator outE
57 std::size_t outputSize = std::distance( out, outE );
58 std::vector<InIterator> results = order(it, itE);
59 SHARK_RUNTIME_CHECK(results.size() > outputSize,
"Input range must be bigger than output range");
61 for(std::size_t i = 0; i != outputSize; ++i, ++out){
78 typedef typename Population::iterator InIterator;
79 std::vector<InIterator> results = order(population.begin(),population.end());
81 for(std::size_t i = 0; i != mu; ++i){
82 results[i]->select()=
true;
84 for(std::size_t i = mu; i != results.size(); ++i){
85 results[i]->select() =
false;