@@ -30,77 +30,100 @@ static constexpr auto basic_2 = detail::basic_problem_invoker{
3030 cecxx::functions::unimodal::bent_cigar,
3131 {.rot = do_affine_trans::yes, .shift = do_affine_trans::yes},
3232 std::tuple{cecxx::benchmark::detail::shift{}, cecxx::benchmark::detail::rotation{}}};
33+
3334static constexpr auto basic_3 = detail::basic_problem_invoker{
3435 cecxx::functions::multimodal::discus,
3536 {.rot = do_affine_trans::yes, .shift = do_affine_trans::yes},
3637 std::tuple{cecxx::benchmark::detail::shift{}, cecxx::benchmark::detail::rotation{}}};
38+
3739static constexpr auto basic_4
3840 = detail::basic_problem_invoker{cecxx::functions::multimodal::rosenbrock,
3941 {.rot = do_affine_trans::yes, .shift = do_affine_trans::yes},
4042 std::tuple{
4143 cecxx::benchmark::detail::shift{},
4244 cecxx::benchmark::detail::scale{2.048 , 100.0 },
4345 cecxx::benchmark::detail::rotation{},
46+ detail::shift_by_scalar{1.0 },
4447 }};
48+
4549static constexpr auto basic_5 = detail::basic_problem_invoker{
4650 cecxx::functions::multimodal::ackley,
4751 {.rot = do_affine_trans::yes, .shift = do_affine_trans::yes},
4852 std::tuple{cecxx::benchmark::detail::shift{}, cecxx::benchmark::detail::rotation{}}};
53+
4954static constexpr auto basic_6 = detail::basic_problem_invoker{
5055 cecxx::functions::multimodal::weierstrass,
5156 {.rot = do_affine_trans::yes, .shift = do_affine_trans::yes},
5257 std::tuple{cecxx::benchmark::detail::shift{}, cecxx::benchmark::detail::scale{0.5 , 100.0 },
5358 cecxx::benchmark::detail::rotation{}}};
59+
5460static constexpr auto basic_7 = detail::basic_problem_invoker{
5561 cecxx::functions::multimodal::griewank,
5662 {.rot = do_affine_trans::yes, .shift = do_affine_trans::yes},
5763 std::tuple{cecxx::benchmark::detail::shift{}, cecxx::benchmark::detail::scale{600.0 , 100.0 },
5864 cecxx::benchmark::detail::rotation{}}};
65+
5966static constexpr auto basic_8
6067 = detail::basic_problem_invoker{cecxx::functions::multimodal::rastrigin,
6168 {.rot = do_affine_trans::no, .shift = do_affine_trans::yes},
6269 std::tuple{
6370 cecxx::benchmark::detail::shift{},
6471 cecxx::benchmark::detail::scale{5.12 , 100.0 },
6572 }};
73+
6674static constexpr auto basic_9 = detail::basic_problem_invoker{
6775 cecxx::functions::multimodal::rastrigin,
6876 {.rot = do_affine_trans::yes, .shift = do_affine_trans::yes},
6977 std::tuple{cecxx::benchmark::detail::shift{}, cecxx::benchmark::detail::scale{5.12 , 100.0 },
7078 cecxx::benchmark::detail::rotation{}}};
79+
7180static constexpr auto basic_10
7281 = detail::basic_problem_invoker{cecxx::functions::multimodal::schwefel,
7382 {.rot = do_affine_trans::no, .shift = do_affine_trans::yes},
7483 std::tuple{
7584 cecxx::benchmark::detail::shift{},
7685 cecxx::benchmark::detail::scale{1000.0 , 100.0 },
86+ cecxx::benchmark::detail::shift_by_scalar{4.209687462275036e+002 },
87+ }};
88+
89+ static constexpr auto basic_11
90+ = detail::basic_problem_invoker{cecxx::functions::multimodal::schwefel,
91+ {.rot = do_affine_trans::yes, .shift = do_affine_trans::yes},
92+ std::tuple{
93+ cecxx::benchmark::detail::shift{},
94+ cecxx::benchmark::detail::scale{1000.0 , 100.0 },
95+ cecxx::benchmark::detail::rotation{},
96+ cecxx::benchmark::detail::shift_by_scalar{4.209687462275036e+002 },
7797 }};
7898
79- static constexpr auto basic_11 = detail::basic_problem_invoker{
80- cecxx::functions::multimodal::schwefel,
81- {.rot = do_affine_trans::yes, .shift = do_affine_trans::yes},
82- std::tuple{cecxx::benchmark::detail::shift{}, cecxx::benchmark::detail::scale{1000.0 , 100.0 },
83- cecxx::benchmark::detail::rotation{}}};
8499static constexpr auto basic_12 = detail::basic_problem_invoker{
85100 cecxx::functions::multimodal::katsuura,
86101 {.rot = do_affine_trans::yes, .shift = do_affine_trans::yes},
87102 std::tuple{cecxx::benchmark::detail::shift{}, cecxx::benchmark::detail::scale{5.0 , 100.0 },
88103 cecxx::benchmark::detail::rotation{}}};
104+
89105static constexpr auto basic_13 = detail::basic_problem_invoker{
90106 cecxx::functions::multimodal::happycat,
91107 {.rot = do_affine_trans::yes, .shift = do_affine_trans::yes},
92108 std::tuple{cecxx::benchmark::detail::shift{}, cecxx::benchmark::detail::scale{5.0 , 100.0 },
93109 cecxx::benchmark::detail::rotation{}}};
110+
94111static constexpr auto basic_14 = detail::basic_problem_invoker{
95112 cecxx::functions::multimodal::hgbat,
96113 {.rot = do_affine_trans::yes, .shift = do_affine_trans::yes},
97114 std::tuple{cecxx::benchmark::detail::shift{}, cecxx::benchmark::detail::scale{5.0 , 100.0 },
98115 cecxx::benchmark::detail::rotation{}}};
116+
99117static constexpr auto basic_15 = detail::basic_problem_invoker{
100118 cecxx::functions::multimodal::grie_rosen,
101119 {.rot = do_affine_trans::yes, .shift = do_affine_trans::yes},
102- std::tuple{cecxx::benchmark::detail::shift{}, cecxx::benchmark::detail::scale{5.0 , 100.0 },
103- cecxx::benchmark::detail::rotation{}}};
120+ std::tuple{
121+ cecxx::benchmark::detail::shift{},
122+ cecxx::benchmark::detail::scale{5.0 / 100.0 , 1.0 },
123+ cecxx::benchmark::detail::rotation{},
124+ cecxx::benchmark::detail::shift_by_scalar{1.0 },
125+ }};
126+
104127static constexpr auto basic_16 = detail::basic_problem_invoker{
105128 cecxx::functions::multimodal::escaffer,
106129 {.rot = do_affine_trans::yes, .shift = do_affine_trans::yes},
0 commit comments