12 # define GANN_CONST_H_
14 # define ERR_GANN_GENERATOR (const char *)"Error: GANN: generator failed (allocation)."
15 # define ERR_GANN_INVCROSS (const char *)"Error: GANN: invalid crossover !"
16 # define ERR_GANN_ALLOCCROSS (const char *)"Error: GANN: invalid crossover (allocation)."
17 # define ERR_GANN_INVSIZE (const char *)"Error: GANN: invalid size of population."
18 # define ERR_GANN_ALLOC (const char *)"Error: GANN: allocation failed."
19 # define ERR_GANN_NULL (const char *)"Error: GANN: layer is null !"
20 # define ERR_GANN_GETBESTANN (const char *)"Error: GANN: cannot get the best ann !"
21 # define ERR_GANN_CROSSOVER (const char *)"Error: GANN: a layer is null"
22 # define ERR_GANN_MUTATION (const char *)"Error: GANN: a layer is null"
23 # define ERR_GANN_DNA (const char *)"Error: GANN: cannot use a null DNA"
24 # define ERR_GANN_INVCONFIG (const char *)"Error: GANN: invalid configuration"
26 # define ERR_ANN_GENERATOR (const char *)"Error: ANN: the generator failed ! (allocation)"
28 # define DEF_GANN_SIZE (unsigned int)2