39 std::pair<long,std::vector<double> *> pa;
50 std::pair<long, std::vector<double> *> *tmp;
52 tmp =
new std::pair<long, std::vector<double> *>(id, &cal);
59 std::vector<double> *cal;
60 std::pair<long,std::vector<double> *> pa;
62 pa =
q.front();
q.pop();
76 std::vector<double> *res;
77 res =
new std::vector<double>(1);
85 (*res)[0] = fabs(x1) + fabs(x2+50);
87 (*res)[0] = fabs(x2-50);
89 (*res)[0] += 1 + fabs(x1+50);
91 (*res)[0] += 2 + fabs(x1-50);
98 x1 = x[0] ; x2 = x1*x1 - x[1]; x1 -= 1;
99 (*res)[0] = x1*x1 + 100*x2*x2 ;
106 for (i=0; i<
NBGENE; i++) {
109 x2 *= cos(y/sqrt(i+1));
111 (*res)[0] = x1 / 4000 - x2 + 1;