BALL  1.4.79
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | Static Protected Attributes | List of all members
BALL::GenericGene Class Referenceabstract

#include <BALL/DOCKING/GENETICDOCK/genes.h>

Inheritance diagram for BALL::GenericGene:
BALL::DoubleGene BALL::QuaternionGene

Public Member Functions

virtual ~GenericGene ()
 
virtual GenericGenemate (GenericGene *gg)=0
 
virtual void mutate ()=0
 
virtual GenericGeneclone ()=0
 
virtual void randomize ()=0
 

Static Public Member Functions

static void initializeRNG ()
 

Static Protected Attributes

static RandomNumberGenerator rng_
 

Detailed Description

pure virtual base class

Definition at line 18 of file genes.h.

Constructor & Destructor Documentation

virtual BALL::GenericGene::~GenericGene ( )
inlinevirtual

destructor

Definition at line 24 of file genes.h.

Member Function Documentation

virtual GenericGene* BALL::GenericGene::clone ( )
pure virtual

clone method

Implemented in BALL::QuaternionGene, and BALL::DoubleGene.

static void BALL::GenericGene::initializeRNG ( )
static

initilize random number generator

virtual GenericGene* BALL::GenericGene::mate ( GenericGene gg)
pure virtual

mate two genes

Implemented in BALL::QuaternionGene, and BALL::DoubleGene.

virtual void BALL::GenericGene::mutate ( )
pure virtual

mutate gene

Implemented in BALL::QuaternionGene, and BALL::DoubleGene.

virtual void BALL::GenericGene::randomize ( )
pure virtual

set gene to random value

Implemented in BALL::QuaternionGene, and BALL::DoubleGene.

Member Data Documentation

RandomNumberGenerator BALL::GenericGene::rng_
staticprotected

random number generator for all genes

Definition at line 50 of file genes.h.