BALL  1.4.79
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | List of all members
BALL::DoubleGene Class Reference

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

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

Public Member Functions

 DoubleGene ()
 
virtual ~DoubleGene ()
 
 DoubleGene (Size i)
 
virtual GenericGenemate (GenericGene *gg)
 
virtual void mutate ()
 
std::vector< doublegetValues ()
 
void setValue (std::vector< double > v)
 
virtual GenericGeneclone ()
 
void randomize ()
 
- Public Member Functions inherited from BALL::GenericGene
virtual ~GenericGene ()
 

Additional Inherited Members

- Static Public Member Functions inherited from BALL::GenericGene
static void initializeRNG ()
 
- Static Protected Attributes inherited from BALL::GenericGene
static RandomNumberGenerator rng_
 

Detailed Description

gene with an arbitrary number of double values

Definition at line 56 of file genes.h.

Constructor & Destructor Documentation

BALL::DoubleGene::DoubleGene ( )

constructor

virtual BALL::DoubleGene::~DoubleGene ( )
virtual

destructor

BALL::DoubleGene::DoubleGene ( Size  i)

constructor, i double values

Member Function Documentation

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

clone method

Implements BALL::GenericGene.

std::vector<double> BALL::DoubleGene::getValues ( )

get vector of values

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

mating method

Implements BALL::GenericGene.

virtual void BALL::DoubleGene::mutate ( )
virtual

mutation method

Implements BALL::GenericGene.

void BALL::DoubleGene::randomize ( )
virtual

randomize values

Implements BALL::GenericGene.

void BALL::DoubleGene::setValue ( std::vector< double v)

set values