Public Member Functions | Public Attributes | Protected Attributes

FloatingPoint::FloatingPoint Class Reference
[GenotypesFloatingPoint]

FloatingPoint class - implements genotype as a vector of floating point values. More...

#include <FloatingPoint.h>

Inheritance diagram for FloatingPoint::FloatingPoint:
Genotype

List of all members.

Public Member Functions

bool initialize (StateP state)
 Initialize a genotype object (read parameters, perform sanity check, build data).
void registerParameters (StateP state)
 Register genotype's parameters (called before Genotype::initialize).
double getLBound ()
 return lower bound of the defined interval
double getUBound ()
 return upper bound of the defined interval
FloatingPointcopy ()
 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 &xFloatingPoint)
 Write genotype data to XMLNode.
void read (XMLNode &xFloatingPoint)
 Read genotype data from XMLNode.

Public Attributes

std::vector< double > realValue
 vector of floating point values

Protected Attributes

double minValue_
 lower bound
double maxValue_
 upper bound
uint nDimension_
 dimensionality

Detailed Description

FloatingPoint class - implements genotype as a vector of floating point values.

FloatingPoint genotype parameters are:

Definition at line 26 of file FloatingPoint.h.


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