#include "Constants.h"
Go to the source code of this file.
Data Structures | |
class | GeneticCode |
union | GeneticCode::__code |
The genetic code. More... | |
struct | GeneticCode::__code::_bitfield |
The structure which contains the genetic code. More... | |
Defines | |
#define | NB_BITS_AGGRESSIVENESS 2 |
#define | NB_BITS_GREEDY 2 |
#define | NB_BITS_REASONABLE 1 |
#define | NB_BITS_GENETICCODE (NB_BITS_SIZE + NB_BITS_AGGRESSIVENESS + NB_BITS_GREEDY + NB_BITS_REASONABLE) |
Definition in file GeneticCode.h.
#define NB_BITS_AGGRESSIVENESS 2 |
Number of bits to code aggressiveness
Definition at line 31 of file GeneticCode.h.
Referenced by GeneticBehaviour::think().
#define NB_BITS_GENETICCODE (NB_BITS_SIZE + NB_BITS_AGGRESSIVENESS + NB_BITS_GREEDY + NB_BITS_REASONABLE) |
Number of bits of the code
Definition at line 40 of file GeneticCode.h.
Referenced by GeneticCode::crossover(), GeneticCode::GeneticCode(), GeneticCode::mutate(), and GeneticCode::print().
#define NB_BITS_GREEDY 2 |
Number of bits to code aggressiveness
Definition at line 34 of file GeneticCode.h.
Referenced by GeneticBehaviour::think().
#define NB_BITS_REASONABLE 1 |
Number of bits to code aggressiveness
Definition at line 37 of file GeneticCode.h.
Referenced by GeneticBehaviour::think().