chiark / gitweb /
octave4.4
[nlopt.git] / esch / esch.h
1 /* Copyright (c) 2008-2013 Carlos Henrique da Silva Santos\r
2  *\r
3  * Permission is hereby granted, free of charge, to any person obtaining\r
4  * a copy of this software and associated documentation files (the\r
5  * "Software"), to deal in the Software without restriction, including\r
6  * without limitation the rights to use, copy, modify, merge, publish,\r
7  * distribute, sublicense, and/or sell copies of the Software, and to\r
8  * permit persons to whom the Software is furnished to do so, subject to\r
9  * the following conditions:\r
10  * \r
11  * The above copyright notice and this permission notice shall be\r
12  * included in all copies or substantial portions of the Software.\r
13  * \r
14  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,\r
15  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\r
16  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\r
17  * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\r
18  * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\r
19  * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\r
20  * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \r
21  */\r
22 \r
23 #ifndef ES_POP_H\r
24 #define ES_POP_H 1\r
25 \r
26 #include "nlopt-util.h"\r
27 \r
28 #ifdef __cplusplus\r
29 extern "C"\r
30 {\r
31 #endif /* __cplusplus */\r
32 \r
33 nlopt_result chevolutionarystrategy(\r
34      unsigned, /* Number of input parameters */\r
35      nlopt_func, /* Recursive Objective Funtion Call */\r
36      void *,    /* Data to Objective Function */\r
37      const double*,                             /* Lower bound values */\r
38      const double*,                             /* Upper bound values */\r
39      double*,                           /* in: initial guess, out: minimizer */\r
40      double*,\r
41      nlopt_stopping*,           /* nlopt stop condition */\r
42      unsigned,                  /* Number of Parents */ \r
43      unsigned);                         /* Number of Offsprings */\r
44 \r
45 #ifdef __cplusplus\r
46 }  /* extern "C" */\r
47 #endif /* __cplusplus */\r
48 \r
49 #endif /* ES_POP_H */\r