LoveBrains  1.0.0
gann_const.h
1 /*
2 ** const.h for GANNEngine in /home/robin_f/Programming/Git/CPP/GANNEngine
3 **
4 ** Made by Guillaume ROBIN
5 ** Login <robin_f@epitech.eu>
6 **
7 ** Started on Tue Jul 21 12:27:13 2015 Guillaume ROBIN
8 ** Last update Tue Jul 21 16:53:38 2015 Guillaume ROBIN
9 */
10 
11 #ifndef GANN_CONST_H_
12 # define GANN_CONST_H_
13 
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"
25 
26 # define ERR_ANN_GENERATOR (const char *)"Error: ANN: the generator failed ! (allocation)"
27 
28 # define DEF_GANN_SIZE (unsigned int)2
29 
30 #endif /* !GANN_CONST_H_ */