ROOT logo
ROOT » TMVA » TMVA::GeneticGenes

class TMVA::GeneticGenes


Cut optimisation interface class for genetic algorithm

Function Members (Methods)

public:
virtual~GeneticGenes()
static TClass*Class()
TMVA::GeneticGenesGeneticGenes()
TMVA::GeneticGenesGeneticGenes(vector<Double_t>& f)
TMVA::GeneticGenesGeneticGenes(const TMVA::GeneticGenes&)
vector<Double_t>&GetFactors()
Double_tGetFitness() const
virtual TClass*IsA() const
TMVA::GeneticGenes&operator=(const TMVA::GeneticGenes&)
voidSetFitness(Double_t fitness)
virtual voidShowMembers(TMemberInspector&)
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)

Data Members

private:
vector<Double_t>fFactorsstores the factors (coefficients) of one individual
Double_tfFitness

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

GeneticGenes(vector<Double_t>& f)
 Constructor:
 set the factors of this individual
GeneticGenes()
{}
GeneticGenes(vector<Double_t>& f)
virtual ~GeneticGenes()
{}
std::vector<Double_t>& GetFactors()
{ return fFactors; }
void SetFitness(Double_t fitness)
{ fFitness = fitness; }
Double_t GetFitness() const
{ return fFitness; }