BitString class - implements genotype as a series of bits. More...
#include <BitString.h>
Public Member Functions | |
| BitString (uint nBits=0) | |
| void | registerParameters (StateP state) |
| Register genotype's parameters (called before Genotype::initialize). | |
| bool | initialize (StateP state) |
| Initialize a genotype object (read parameters, perform sanity check, build data). | |
| BitString * | copy () |
| Create an identical copy of the genotype object. | |
| std::vector< CrossoverOpP > | getCrossoverOp () |
| Create and return a vector of crossover operators. | |
| std::vector< MutationOpP > | getMutationOp () |
| Create and return a vector of mutation operators. | |
| void | write (XMLNode &xBitString) |
| Write genotype data to XMLNode. | |
| void | read (XMLNode &xBitString) |
| Read genotype data from XMLNode. | |
Public Attributes | |
| std::vector< bool > | bits |
Protected Attributes | |
| uint | nBits_ |
BitString class - implements genotype as a series of bits.
Definition at line 23 of file BitString.h.
1.7.1