gplib::GrayTranscribe Class Reference
[Genetic algorithm optimization]

This class implements the Gray code representation of a binary string and the corresponding transcription. More...

#include <GrayTranscribe.h>

Inheritance diagram for gplib::GrayTranscribe:

Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual ttranscribed GetValues (const tpopmember &member)
 Re-Implements the function from BinaryTranscribe.
 GrayTranscribe (const ttranscribed &base, const ttranscribed &step, const tsizev &gene)
virtual ~GrayTranscribe ()


Detailed Description

This class implements the Gray code representation of a binary string and the corresponding transcription.

Definition at line 10 of file GrayTranscribe.h.


Constructor & Destructor Documentation

gplib::GrayTranscribe::GrayTranscribe ( const ttranscribed base,
const ttranscribed step,
const tsizev gene 
)

Definition at line 4 of file GrayTranscribe.cpp.

gplib::GrayTranscribe::~GrayTranscribe (  )  [virtual]

Definition at line 10 of file GrayTranscribe.cpp.


Member Function Documentation

ttranscribed gplib::GrayTranscribe::GetValues ( const tpopmember member  )  [virtual]

Re-Implements the function from BinaryTranscribe.

Reimplemented from gplib::BinaryTranscribe.

Definition at line 14 of file GrayTranscribe.cpp.

References gplib::BinaryTranscribe::basevalues, gplib::BinaryTranscribe::genesizes, and gplib::BinaryTranscribe::stepsizes.

Referenced by main().


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

Generated on Tue Nov 3 13:24:23 2009 for GPLIB++ by  doxygen 1.5.8