Logo ROOT   6.10/09
Reference Guide
List of all members | Public Member Functions | Private Attributes | Friends | List of all members
TMVA::GeneticGenes Class Reference

Cut optimisation interface class for genetic algorithm.

Definition at line 41 of file GeneticGenes.h.

Public Member Functions

 GeneticGenes ()
 GeneticGenes (std::vector< Double_t > &f)
 Constructor: set the factors of this individual. More...
virtual ~GeneticGenes ()
std::vector< Double_t > & GetFactors ()
Double_t GetFitness () const
void SetFitness (Double_t fitness)

Private Attributes

std::vector< Double_tfFactors
Double_t fFitness


Bool_t operator< (const GeneticGenes &, const GeneticGenes &)

#include <TMVA/GeneticGenes.h>

Constructor & Destructor Documentation

◆ GeneticGenes() [1/2]

TMVA::GeneticGenes::GeneticGenes ( )

Definition at line 45 of file GeneticGenes.h.

◆ GeneticGenes() [2/2]

TMVA::GeneticGenes::GeneticGenes ( std::vector< Double_t > &  f)

Constructor: set the factors of this individual.

Definition at line 44 of file GeneticGenes.cxx.

◆ ~GeneticGenes()

virtual TMVA::GeneticGenes::~GeneticGenes ( )

Definition at line 47 of file GeneticGenes.h.

Member Function Documentation

◆ GetFactors()

std::vector<Double_t>& TMVA::GeneticGenes::GetFactors ( )

Definition at line 49 of file GeneticGenes.h.

◆ GetFitness()

Double_t TMVA::GeneticGenes::GetFitness ( ) const

Definition at line 52 of file GeneticGenes.h.

◆ SetFitness()

void TMVA::GeneticGenes::SetFitness ( Double_t  fitness)

Definition at line 51 of file GeneticGenes.h.

Friends And Related Function Documentation

◆ operator<

Bool_t operator< ( const GeneticGenes ,
const GeneticGenes  

Member Data Documentation

◆ fFactors

std::vector<Double_t> TMVA::GeneticGenes::fFactors

Definition at line 58 of file GeneticGenes.h.

◆ fFitness

Double_t TMVA::GeneticGenes::fFitness

Definition at line 59 of file GeneticGenes.h.

The documentation for this class was generated from the following files: