13void cec14_test_func(
double *, 
double *,
int,
int,
int);
 
   15double *OShift,*M,*y,*z,*x_bound;
 
   16int ini_flag=0,n_flag,func_flag,*SS;
 
   21    int i,j,k,n,m,func_num;
 
   27    x=(
double *)malloc(m*n*
sizeof(
double));
 
   28    f=(
double *)malloc(
sizeof(
double)  *  m);
 
   29    for (i = 0; i < 30; i++)
 
   32        sprintf(FileName, 
"input_data/shift_data_%d.txt", func_num);
 
   33        fpt = fopen(FileName,
"r");
 
   36            printf(
"\n Error: Cannot open input file for reading \n");
 
   40            printf(
"\nError: there is insufficient memory available!\n");
 
   44                fscanf(fpt,
"%Lf",&x[k]);
 
   50            for (j = 0; j < n; j++)
 
   57        for (k = 0; k < 1; k++)
 
   59            cec14_test_func(x, f, n,m,func_num);
 
   60            for (j = 0; j < 2; j++)
 
   62                printf(
" f%d(x[%d]) = %Lf,",func_num,j+1,f[j]);