From 14f39fc9c380010c59f0679e69716b2dc215c163 Mon Sep 17 00:00:00 2001 From: leo Date: Sat, 4 Feb 2023 20:36:57 +0100 Subject: [PATCH] cec2020: add declarations of bench functions --- bench/cec2020/benchFunctions.go | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/bench/cec2020/benchFunctions.go b/bench/cec2020/benchFunctions.go index b5cf890..4c45833 100644 --- a/bench/cec2020/benchFunctions.go +++ b/bench/cec2020/benchFunctions.go @@ -28,3 +28,34 @@ package cec2020 // void zakharov_func(double *, double *, int , double *,double *, int, int); // ZAKHAROV // void levy_func(double *, double *, int , double *,double *, int, int); // Levy // void dixon_price_func(double *, double *, int , double *,double *, int, int); // Dixon and Price + +// BentCigar is the "Bent Cigar Function" of CEC2020. +func BentCigar(x []float64) float64 { return 0 } + +// Schwefel is the "Shifted and Rotated Schwefel's Function" of CEC2020. +func Schwefel(x []float64) float64 { return 0 } + +// LunacekBiRastrigin is the "Shifted and Rotated Lunacek bi-Rastrigin Function" of CEC2020. +func LunacekBiRastrigin(x []float64) float64 { return 0 } + +// RosenbrockGriewank is the "Expanded Rosenbrock's plus Griewank's Function" +// of CEC2020. +func RosenbrockGriewank(x float64) float64 { return 0 } + +// Hybrid1 is the "Hybrid Function 1" of CEC2020. +func Hybrid1(x []float64) float64 { return 0 } + +// Hybrid2 is the "Hybrid Function 2" of CEC2020. +func Hybrid2(x []float64) float64 { return 0 } + +// Hybrid3 is the "Hybrid Function 3" of CEC2020. +func Hybrid3(x []float64) float64 { return 0 } + +// Composition1 is the "Composition Function 1" of CEC2020. +func Composition1(x []float64) float64 { return 0 } + +// Composition2 is the "Composition Function 2" of CEC2020. +func Composition2(x []float64) float64 { return 0 } + +// Composition3 is the "Composition Function 3" of CEC2020. +func Composition3(x []float64) float64 { return 0 }