31 #ifndef SHARK_ALGORITHMS_DIRECTSEARCH_OPERATORS_RECOMBINATION_ONE_POINT_CROSSOVER_H 32 #define SHARK_ALGORITHMS_DIRECTSEARCH_OPERATORS_RECOMBINATION_ONE_POINT_CROSSOVER_H 45 template<
class randomType,
typename Po
intType>
46 PointType
operator()(randomType& rng,
const PointType & mom,
const PointType & dad ) {
50 PointType offspring( mom.size() );
51 std::copy( mom.begin(), mom.begin() + point, offspring.begin() );
52 std::copy( dad.begin() + point, dad.end(), offspring.begin() + point );