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::QuaternionGene Class Reference

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

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

Public Member Functions

 QuaternionGene ()
 
virtual ~QuaternionGene ()
 
virtual GenericGenemate (GenericGene *gg)
 
virtual void mutate ()
 
Quaternion getValue ()
 
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 one quaternion value

Definition at line 106 of file genes.h.

Constructor & Destructor Documentation

BALL::QuaternionGene::QuaternionGene ( )

constructor

virtual BALL::QuaternionGene::~QuaternionGene ( )
virtual

destructor

Member Function Documentation

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

clone method

Implements BALL::GenericGene.

Quaternion BALL::QuaternionGene::getValue ( )

returns quaternion vaue

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

mating method

Implements BALL::GenericGene.

virtual void BALL::QuaternionGene::mutate ( )
virtual

mutation method

Implements BALL::GenericGene.

void BALL::QuaternionGene::randomize ( )
virtual

randomize quaternion

Implements BALL::GenericGene.