BALL
1.4.79
|
#include <BALL/DOCKING/GENETICDOCK/genes.h>
Public Member Functions | |
DoubleGene () | |
virtual | ~DoubleGene () |
DoubleGene (Size i) | |
virtual GenericGene * | mate (GenericGene *gg) |
virtual void | mutate () |
std::vector< double > | getValues () |
void | setValue (std::vector< double > v) |
virtual GenericGene * | clone () |
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_ |
BALL::DoubleGene::DoubleGene | ( | ) |
constructor
|
virtual |
destructor
BALL::DoubleGene::DoubleGene | ( | Size | i | ) |
constructor, i double values
|
virtual |
clone method
Implements BALL::GenericGene.
std::vector<double> BALL::DoubleGene::getValues | ( | ) |
get vector of values
|
virtual |
mating method
Implements BALL::GenericGene.
|
virtual |
mutation method
Implements BALL::GenericGene.
|
virtual |
randomize values
Implements BALL::GenericGene.
void BALL::DoubleGene::setValue | ( | std::vector< double > | v | ) |
set values