#include <BinaryChromosome.h>
BinaryChromosomeProperties::BinaryChromosomeProperties |
( |
unsigned int |
nGenes, |
|
|
const uint8_t * |
geneSizes, |
|
|
Initializer |
initializer = 0 , |
|
|
Mutator |
mutator = 0 |
|
) |
| |
unsigned int BinaryChromosomeProperties::bitSize |
( |
| ) |
const |
Returns the total size (in bits) of the chromosome.
unsigned int BinaryChromosomeProperties::byteSize |
( |
| ) |
const |
|
inline |
Returns the total size (in bytes) of the chromosome.
uint8_t BinaryChromosomeProperties::geneSize |
( |
int |
i | ) |
const |
|
inline |
Returns the size (in bits) of gene #i#.
int BinaryChromosomeProperties::getStartBitPosition |
( |
int |
gene | ) |
const |
Returns the bit at which gene #gene# starts.
unsigned int BinaryChromosomeProperties::nGenes |
( |
| ) |
const |
|
inline |
Returns the number of genes in the chromosome.
uint8_t* BinaryChromosomeProperties::_geneSizes |
The size (in bits) of each gene.
unsigned int BinaryChromosomeProperties::_nGenes |
The number of genes in the chromosome.
Evaluator BinaryChromosomeProperties::evaluator |
The initializer, mutator and evaluator functions.
Mutator BinaryChromosomeProperties::mutator |
The documentation for this class was generated from the following files: