libcmaes
A C++11 library for stochastic optimization with CMA-ES
Main Page
Namespaces
Classes
Files
File List
All
Classes
Namespaces
Functions
Variables
Typedefs
src
opti_err.h
1
22
#ifndef OPTI_ERR_H
23
#define OPTI_ERR_H
24
25
/* errors */
26
enum
{
27
/* reaches convergence. */
28
OPTI_SUCCESS = 0,
29
OPTI_STOP,
30
/* intial variables already minimize the objective function. */
31
OPTI_ALREADY_MINIMIZED,
32
/* unknown error */
33
OPTI_ERR_UNKNOWN = -1024,
34
/* insufficient memory. */
35
OPTI_ERR_OUTOFMEMORY=-1025,
36
/* invalid number of variables specified. */
37
OPTI_ERR_INVALID_N=-1026,
38
/* the algorithm has reached a termination criteria without reaching the objective. */
39
OPTI_ERR_TERMINATION=-1
40
};
41
42
#endif
Generated on Mon Mar 9 2015 08:58:53 for libcmaes by
1.8.8