From f1fa67ab7913e17d787ab3a1bcafa60675e84339 Mon Sep 17 00:00:00 2001 From: leo Date: Thu, 9 Feb 2023 22:10:33 +0100 Subject: [PATCH] re-enable Composition funcs (w/ Griewank solved) --- bench/cec2020/vars.go | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/bench/cec2020/vars.go b/bench/cec2020/vars.go index 18211f7..04e19b6 100644 --- a/bench/cec2020/vars.go +++ b/bench/cec2020/vars.go @@ -20,10 +20,9 @@ var Functions = map[string]func([]float64) float64{ "Hybrid1": Hybrid1, "Hybrid2": Hybrid2, "Hybrid3": Hybrid3, - // TODO(me): these panic right now. - // "Composition1": Composition1, - // "Composition2": Composition2, - // "Composition3": Composition3, + "Composition1": Composition1, + "Composition2": Composition2, + "Composition3": Composition3, } // FuncNames represents a numbered list of function name. @@ -35,10 +34,9 @@ var FuncNames = map[int]string{ 4: "Hybrid1", 5: "Hybrid2", 6: "Hybrid3", - // TODO(me): these panic right now. - // 7: "Composition1", - // 8: "Composition2", - // 9: "Composition3", + 7: "Composition1", + 8: "Composition2", + 9: "Composition3", } // SearchRange specifies the CEC2020 search range.