FloatingPoint class - implements genotype as a vector of floating point values. More...
#include <FloatingPoint.h>
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 | |
| FloatingPoint * | 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 &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 | |
FloatingPoint class - implements genotype as a vector of floating point values.
FloatingPoint genotype parameters are:
Definition at line 26 of file FloatingPoint.h.
1.7.1