#include <IntGCChromosome.h>
Inheritance diagram for gal::IntGCChromosome:
Public Member Functions | |
| IntGCChromosome (int length) | |
| Constructs a new IntGCChromosome, initialising it randomly. | |
| int const | getValue () |
| Returns the decimal value that the bitstring represents. | |
| std::string const | getValueText () |
| Returns a string representation of the decimal value. | |
Bitstring is interpreted as a reversed binary number in Gray-encoding.
|
|
Constructs a new IntGCChromosome, initialising it randomly.
|
|
|
Returns the decimal value that the bitstring represents.
Reimplemented from gal::Chromosome< int >. |
|
|
Returns a string representation of the decimal value.
Reimplemented from gal::Chromosome< int >. |
1.3.9.1