ZeusMath-Library  2.0.4
zeus::IGAGene Class Referenceabstract

#include <IGAGene.hpp>

Inheritance diagram for zeus::IGAGene:
zeus::TGAGene

Public Member Functions

virtual Retval MQUALIFIER copyGeneToDNA (const IGAGene &rGene)=0
 
virtual IByteArray &MQUALIFIER getDNA ()=0
 
virtual const IByteArray &MQUALIFIER getDNAConst () const =0
 
virtual Int MQUALIFIER getEndByteIndex () const =0
 
virtual Int MQUALIFIER getStartByteIndex () const =0
 
virtual Int8 MQUALIFIER getInt8 () const =0
 
virtual Int16 MQUALIFIER getInt16 () const =0
 
virtual Int32 MQUALIFIER getInt32 () const =0
 
virtual Int64 MQUALIFIER getInt64 () const =0
 
virtual Float32 MQUALIFIER getFloat32 () const =0
 
virtual Float64 MQUALIFIER getFloat64 () const =0
 
virtual void MQUALIFIER setInt8 (const Int8 &rValue)=0
 
virtual void MQUALIFIER setInt16 (const Int16 &rValue)=0
 
virtual void MQUALIFIER setInt32 (const Int32 &rValue)=0
 
virtual void MQUALIFIER setInt64 (const Int64 &rValue)=0
 
virtual void MQUALIFIER setFloat32 (const Float32 &rValue)=0
 
virtual void MQUALIFIER setFloat64 (const Float64 &rValue)=0
 
virtual void MQUALIFIER mutate ()=0
 

Detailed Description

This interface represents a gene of a chromosome

Member Function Documentation

§ copyGeneToDNA()

virtual Retval MQUALIFIER zeus::IGAGene::copyGeneToDNA ( const IGAGene rGene)
pure virtual

This method is used to copy the complete gene of a DNA to the DNA of this gene. This is used for cloning and crossing genes

Parameters
rGene: Source or the data
Return values
RET_NOERROR: data copied
RET_REQUEST_FAILED: Could not copy the data

Implemented in zeus::TGAGene.

§ getDNA()

virtual IByteArray& MQUALIFIER zeus::IGAGene::getDNA ( )
pure virtual

returns the complete DNA of the chromosome

Implemented in zeus::TGAGene.

§ getDNAConst()

virtual const IByteArray& MQUALIFIER zeus::IGAGene::getDNAConst ( ) const
pure virtual

returns the complete DNA of the chromosome

Implemented in zeus::TGAGene.

§ getEndByteIndex()

virtual Int MQUALIFIER zeus::IGAGene::getEndByteIndex ( ) const
pure virtual

returns the index of the end byte

Implemented in zeus::TGAGene.

§ getFloat32()

virtual Float32 MQUALIFIER zeus::IGAGene::getFloat32 ( ) const
pure virtual

Implemented in zeus::TGAGene.

§ getFloat64()

virtual Float64 MQUALIFIER zeus::IGAGene::getFloat64 ( ) const
pure virtual

Implemented in zeus::TGAGene.

§ getInt16()

virtual Int16 MQUALIFIER zeus::IGAGene::getInt16 ( ) const
pure virtual

Implemented in zeus::TGAGene.

§ getInt32()

virtual Int32 MQUALIFIER zeus::IGAGene::getInt32 ( ) const
pure virtual

Implemented in zeus::TGAGene.

§ getInt64()

virtual Int64 MQUALIFIER zeus::IGAGene::getInt64 ( ) const
pure virtual

Implemented in zeus::TGAGene.

§ getInt8()

virtual Int8 MQUALIFIER zeus::IGAGene::getInt8 ( ) const
pure virtual

Implemented in zeus::TGAGene.

§ getStartByteIndex()

virtual Int MQUALIFIER zeus::IGAGene::getStartByteIndex ( ) const
pure virtual

returns the index of the start byte

Implemented in zeus::TGAGene.

§ mutate()

virtual void MQUALIFIER zeus::IGAGene::mutate ( )
pure virtual

mutates the content of the gene

Implemented in zeus::TGAGene.

§ setFloat32()

virtual void MQUALIFIER zeus::IGAGene::setFloat32 ( const Float32 &  rValue)
pure virtual

Implemented in zeus::TGAGene.

§ setFloat64()

virtual void MQUALIFIER zeus::IGAGene::setFloat64 ( const Float64 &  rValue)
pure virtual

Implemented in zeus::TGAGene.

§ setInt16()

virtual void MQUALIFIER zeus::IGAGene::setInt16 ( const Int16 &  rValue)
pure virtual

Implemented in zeus::TGAGene.

§ setInt32()

virtual void MQUALIFIER zeus::IGAGene::setInt32 ( const Int32 &  rValue)
pure virtual

Implemented in zeus::TGAGene.

§ setInt64()

virtual void MQUALIFIER zeus::IGAGene::setInt64 ( const Int64 &  rValue)
pure virtual

Implemented in zeus::TGAGene.

§ setInt8()

virtual void MQUALIFIER zeus::IGAGene::setInt8 ( const Int8 &  rValue)
pure virtual

Implemented in zeus::TGAGene.


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


Written by Benjamin Hadorn http://www.xatlantis.ch.
Last change made on Wed Sep 14 2016 06:46:02