00001 00020 #ifndef _FUNCTIONS 00021 #define _FUNCTIONS 00022 00023 #include "../common/define.h" 00024 00025 double sphere(const tGen *,int); 00026 double step(const tGen *x, int dim); 00027 double step2(const tGen *x, int dim); 00028 double branin(const tGen *,int); 00029 double b2(const tGen *,int); 00030 double ackley(const tGen *x, int n); 00031 double easom(const tGen *,int); 00032 double goldstein_price(const tGen *,int); 00033 double shubert(const tGen *,int); 00034 double beale(const tGen *,int); 00035 double booth(const tGen *,int); 00036 double matyas(const tGen *,int); 00037 double sixhumpcamelback(const tGen *x, int n); 00038 double schwefel(const tGen *,int); 00039 double schwefel_226(const tGen *x, int n); 00040 double rosenbrock(const tGen *,int); 00041 double zakharov(const tGen *,int); 00042 double rastrigin(const tGen *,int); 00043 double rastrigin_funcR(const tGen *, int); 00044 double rastrigin_funcS(const tGen *, int); 00045 double griewank(const tGen *,int); 00046 double Trid(const tGen *, int); 00047 double dejoung(const tGen *, int); 00048 double Hartman34(const tGen *, int); 00049 double Hartman64(const tGen *, int); 00050 double colville(const tGen *, int); 00051 double Perm(const tGen *, int); 00052 double Perm_0(const tGen *, int); 00053 double PowerSum(const tGen *, int); 00054 double sum_squares(const tGen *, int); 00055 double powell(const tGen *, int); 00056 double levy(const tGen *, int); 00057 double shekel5(const tGen *, int); 00058 double shekel7(const tGen *, int); 00059 double shekel10(const tGen *, int); 00060 double dixon_price(const tGen *, int); 00061 double fms(const tGen *,int); 00062 double sle(const tGen *,int); 00063 double cheb9(const tGen *, int); 00064 double schwefel_12(const tGen *, int); 00065 double ef10(const tGen *, int); 00066 double bohachevsky(const tGen *, int); 00067 double watson(const tGen *, int); 00068 double bump(const tGen *x, int n); 00069 double fcigtab(const tGen *x, int ndim); 00070 double ruido2(const tGen *x, int ndim); 00071 double maximo_x(const tGen *x, int ndim); 00072 double suma_producto(const tGen *x, int ndim); 00073 00074 00075 00076 double f_3(const tGen *,int); 00077 double f_4(const tGen *,int); 00078 double f_5(const tGen *,int); 00079 double f_6(const tGen *,int); 00080 double f_8(const tGen *,int); 00081 double f_10(const tGen *,int); 00082 double f_11(const tGen *,int); 00083 double f_12(const tGen *,int); 00084 double f_13(const tGen *,int); 00085 double f_14(const tGen *,int); 00086 double f_15(const tGen *,int); 00087 double fschaffer(const tGen *, int); 00088 double f8f2(const tGen *, int); 00089 double fschwefelmult(const tGen *x, int n); 00090 00091 double objfn(const tGen *x, int nvar); 00092 double salomon(const tGen *x, int nvar); 00093 double whitely(const tGen *x, int nvar); 00094 double pn1(const tGen *x, int nvar); 00095 double pn2(const tGen *x, int nvar); 00096 double foxhole(const tGen *xs, int nvar); 00097 00098 #endif