Public Member Functions | Public Attributes | Protected Attributes

BitString::BitString Class Reference
[BitStringGenotypes]

BitString class - implements genotype as a series of bits. More...

#include <BitString.h>

Inheritance diagram for BitString::BitString:
Genotype BitString::MyBitString

List of all members.

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).
BitStringcopy ()
 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_

Detailed Description

BitString class - implements genotype as a series of bits.

Definition at line 23 of file BitString.h.


The documentation for this class was generated from the following file: