Minor cosmetics.
[PaGMO.git] / Functions / objfuns / classicobjfuns.h
blobb1386f4a9c90abd6bae3b5bfb453c1a0460b4202
1 /*
2 * GOProblems.h
3 * SeGMO, a Sequential Global Multiobjective Optimiser
5 * Created by Dario Izzo on 5/17/08.
6 * Copyright 2008 ¿dvanced Concepts Team (European Space Agency). All rights reserved.
8 */
10 #ifndef CLASSICOBJFUNS_H
11 #define CLASSICOBJFUNS_H
13 #include <vector>
15 //NOTE: the functions here have passing by reference + const as they are called a lot of time during execution and thus
16 //it is worth trying to save time by avoiding to make a copy of the variable passed
18 double testfunction (const std::vector<double>& x);
19 double rastrigin (const std::vector<double>& x);
20 double schwefel (const std::vector<double>& x);
21 double ackley (const std::vector<double>& x);
22 double rosenbrock (const std::vector<double>& x);
23 double lennardjones (const std::vector<double>& x);
24 double levy (const std::vector<double>& x);
26 #endif