Logo ROOT  
Reference Guide
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
 

Friends

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

#include <TMVA/GeneticGenes.h>

Constructor & Destructor Documentation

◆ GeneticGenes() [1/2]

TMVA::GeneticGenes::GeneticGenes ( )
inline

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 ( )
inlinevirtual

Definition at line 47 of file GeneticGenes.h.

Member Function Documentation

◆ GetFactors()

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

Definition at line 49 of file GeneticGenes.h.

◆ GetFitness()

Double_t TMVA::GeneticGenes::GetFitness ( ) const
inline

Definition at line 52 of file GeneticGenes.h.

◆ SetFitness()

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

Definition at line 51 of file GeneticGenes.h.

Friends And Related Function Documentation

◆ operator<

Bool_t operator< ( const GeneticGenes ,
const GeneticGenes  
)
friend

Member Data Documentation

◆ fFactors

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

Definition at line 58 of file GeneticGenes.h.

◆ fFitness

Double_t TMVA::GeneticGenes::fFitness
private

Definition at line 59 of file GeneticGenes.h.

Libraries for TMVA::GeneticGenes:
[legend]

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