Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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.
 
virtual ~GeneticGenes ()
 
std::vector< Double_t > & GetFactors ()
 
Double_t GetFitness () const
 
virtual TClassIsA () const
 
void SetFitness (Double_t fitness)
 
virtual void Streamer (TBuffer &)
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 

Static Public Member Functions

static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 

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

◆ Class()

static TClass * TMVA::GeneticGenes::Class ( )
static
Returns
TClass describing this class

◆ Class_Name()

static const char * TMVA::GeneticGenes::Class_Name ( )
static
Returns
Name of this class

◆ Class_Version()

static constexpr Version_t TMVA::GeneticGenes::Class_Version ( )
inlinestaticconstexpr
Returns
Version of this class

Definition at line 61 of file GeneticGenes.h.

◆ DeclFileName()

static const char * TMVA::GeneticGenes::DeclFileName ( )
inlinestatic
Returns
Name of the file containing the class declaration

Definition at line 61 of file GeneticGenes.h.

◆ 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.

◆ IsA()

virtual TClass * TMVA::GeneticGenes::IsA ( ) const
inlinevirtual
Returns
TClass describing current object

Definition at line 61 of file GeneticGenes.h.

◆ SetFitness()

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

Definition at line 51 of file GeneticGenes.h.

◆ Streamer()

virtual void TMVA::GeneticGenes::Streamer ( TBuffer )
virtual

◆ StreamerNVirtual()

void TMVA::GeneticGenes::StreamerNVirtual ( TBuffer ClassDef_StreamerNVirtual_b)
inline

Definition at line 61 of file GeneticGenes.h.

Friends And Related Symbol 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:

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