From e310303ff74fb555a4aa7d99c58d6a4e04f42ffe Mon Sep 17 00:00:00 2001 From: leo Date: Wed, 8 Feb 2023 02:16:06 +0100 Subject: [PATCH] chore(cec2020): clean up C++ func signatures --- bench/cec2020/benchFunctions.go | 26 -------------------------- bench/cec2020/helperFunctions.go | 22 ---------------------- 2 files changed, 48 deletions(-) diff --git a/bench/cec2020/benchFunctions.go b/bench/cec2020/benchFunctions.go index 5b92e92..b4e5ca4 100644 --- a/bench/cec2020/benchFunctions.go +++ b/bench/cec2020/benchFunctions.go @@ -5,32 +5,6 @@ package cec2020 import "math" -// void sphere_func (double *, double *, int , double *,double *, int, int); // Sphere -// void ellips_func(double *, double *, int , double *,double *, int, int); // Ellipsoidal -// void bent_cigar_func(double *, double *, int , double *,double *, int, int); // Discus -// void discus_func(double *, double *, int , double *,double *, int, int); // Bent_Cigar -// void dif_powers_func(double *, double *, int , double *,double *, int, int); // Different Powers -// void rosenbrock_func (double *, double *, int , double *,double *, int, int); // Rosenbrock's -// void schaffer_F7_func (double *, double *, int , double *,double *, int, int); // Schwefel's F7 -// void ackley_func (double *, double *, int , double *,double *, int, int); // Ackley's -// void rastrigin_func (double *, double *, int , double *,double *, int, int); // Rastrigin's -// void weierstrass_func (double *, double *, int , double *,double *, int, int); // Weierstrass's -// void griewank_func (double *, double *, int , double *,double *, int, int); // Griewank's -// void schwefel_func (double *, double *, int , double *,double *, int, int); // Schwefel's -// void katsuura_func (double *, double *, int , double *,double *, int, int); // Katsuura -// void bi_rastrigin_func (double *, double *, int , double *,double *, int, int); // Lunacek Bi_rastrigin -// void grie_rosen_func (double *, double *, int , double *,double *, int, int); // Griewank-Rosenbrock -// void escaffer6_func (double *, double *, int , double *,double *, int, int); // Expanded Schaffer's F6 -// void step_rastrigin_func (double *, double *, int , double *,double *, int, int); // Noncontinuous Rastrigin's -// void happycat_func (double *, double *, int , double *,double *, int, int); // HappyCat -// void hgbat_func (double *, double *, int , double *,double *, int, int); // HGBat -// -// // New functions Noor Changes -// void sum_diff_pow_func(double *, double *, int , double *,double *, int, int); // Sum of different power -// 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 { var sum float64 diff --git a/bench/cec2020/helperFunctions.go b/bench/cec2020/helperFunctions.go index 29993d0..abb8410 100644 --- a/bench/cec2020/helperFunctions.go +++ b/bench/cec2020/helperFunctions.go @@ -12,28 +12,6 @@ import ( "gonum.org/v1/gonum/stat/distuv" ) -// void hf01 (double *, double *, int, double *,double *, int *,int, int); // Hybrid Function 1 -// void hf02 (double *, double *, int, double *,double *, int *,int, int); // Hybrid Function 2 -// void hf03 (double *, double *, int, double *,double *, int *,int, int); // Hybrid Function 3 -// void hf04 (double *, double *, int, double *,double *, int *,int, int); // Hybrid Function 4 -// void hf05 (double *, double *, int, double *,double *, int *,int, int); // Hybrid Function 5 -// void hf06 (double *, double *, int, double *,double *, int *,int, int); // Hybrid Function 6 -// void hf07 (double *, double *, int, double *,double *, int *,int, int); // Hybrid Function 7 -// void hf08 (double *, double *, int, double *,double *, int *,int, int); // Hybrid Function 8 -// void hf09 (double *, double *, int, double *,double *, int *,int, int); // Hybrid Function 9 -// void hf10 (double *, double *, int, double *,double *, int *,int, int); // Hybrid Function 10 -// -// void cf01 (double *, double *, int , double *,double *, int); // Composition Function 1 -// void cf02 (double *, double *, int , double *,double *, int); // Composition Function 2 -// void cf03 (double *, double *, int , double *,double *, int); // Composition Function 3 -// void cf04 (double *, double *, int , double *,double *, int); // Composition Function 4 -// void cf05 (double *, double *, int , double *,double *, int); // Composition Function 5 -// void cf06 (double *, double *, int , double *,double *, int); // Composition Function 6 -// void cf07 (double *, double *, int , double *,double *, int); // Composition Function 7 -// void cf08 (double *, double *, int , double *,double *, int); // Composition Function 8 -// void cf09 (double *, double *, int , double *,double *, int *, int); // Composition Function 9/ -// void cf10 (double *, double *, int , double *,double *, int *, int); // Composition Function 10 - // void shiftfunc (double*,double*,int,double*); // void rotatefunc (double*,double*,int, double*); // void sr_func (double *, double *, int, double*, double*, double, int, int); // shift and rotate