Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Math::MultiGenFunctionFitness Class Reference

Definition at line 18 of file GeneticMinimizer.cxx.

Public Member Functions

 MultiGenFunctionFitness (const ROOT::Math::IMultiGenFunction &function)
 
Double_t EstimatorFunction (std::vector< double > &factors) override
 
Double_t Evaluate (const std::vector< double > &factors) const
 
void FixParameter (unsigned int ipar, double value, bool fix=true)
 
unsigned int NCalls () const
 
unsigned int NDims () const
 
unsigned int NTotal () const
 
const std::vector< double > & Transform (const std::vector< double > &factors) const
 
- Public Member Functions inherited from TMVA::IFitterTarget
 IFitterTarget ()
 constructor
 
virtual ~IFitterTarget ()
 
virtual TClassIsA () const
 
virtual void ProgressNotifier (TString, TString)
 
virtual void Streamer (TBuffer &)
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 

Private Attributes

std::vector< intfFixedParFlag
 
const ROOT::Math::IMultiGenFunctionfFunc
 
unsigned int fNCalls
 
unsigned int fNFree
 
std::vector< doublefValues
 

Additional Inherited Members

- Static Public Member Functions inherited from TMVA::IFitterTarget
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
Inheritance diagram for ROOT::Math::MultiGenFunctionFitness:
[legend]

Constructor & Destructor Documentation

◆ MultiGenFunctionFitness()

ROOT::Math::MultiGenFunctionFitness::MultiGenFunctionFitness ( const ROOT::Math::IMultiGenFunction function)
inline

Definition at line 27 of file GeneticMinimizer.cxx.

Member Function Documentation

◆ EstimatorFunction()

Double_t ROOT::Math::MultiGenFunctionFitness::EstimatorFunction ( std::vector< double > &  factors)
inlineoverridevirtual

Implements TMVA::IFitterTarget.

Definition at line 76 of file GeneticMinimizer.cxx.

◆ Evaluate()

Double_t ROOT::Math::MultiGenFunctionFitness::Evaluate ( const std::vector< double > &  factors) const
inline

Definition at line 71 of file GeneticMinimizer.cxx.

◆ FixParameter()

void ROOT::Math::MultiGenFunctionFitness::FixParameter ( unsigned int  ipar,
double  value,
bool  fix = true 
)
inline

Definition at line 36 of file GeneticMinimizer.cxx.

◆ NCalls()

unsigned int ROOT::Math::MultiGenFunctionFitness::NCalls ( ) const
inline

Definition at line 31 of file GeneticMinimizer.cxx.

◆ NDims()

unsigned int ROOT::Math::MultiGenFunctionFitness::NDims ( ) const
inline

Definition at line 32 of file GeneticMinimizer.cxx.

◆ NTotal()

unsigned int ROOT::Math::MultiGenFunctionFitness::NTotal ( ) const
inline

Definition at line 34 of file GeneticMinimizer.cxx.

◆ Transform()

const std::vector< double > & ROOT::Math::MultiGenFunctionFitness::Transform ( const std::vector< double > &  factors) const
inline

Definition at line 55 of file GeneticMinimizer.cxx.

Member Data Documentation

◆ fFixedParFlag

std::vector<int> ROOT::Math::MultiGenFunctionFitness::fFixedParFlag
private

Definition at line 23 of file GeneticMinimizer.cxx.

◆ fFunc

const ROOT::Math::IMultiGenFunction& ROOT::Math::MultiGenFunctionFitness::fFunc
private

Definition at line 22 of file GeneticMinimizer.cxx.

◆ fNCalls

unsigned int ROOT::Math::MultiGenFunctionFitness::fNCalls
private

Definition at line 20 of file GeneticMinimizer.cxx.

◆ fNFree

unsigned int ROOT::Math::MultiGenFunctionFitness::fNFree
private

Definition at line 21 of file GeneticMinimizer.cxx.

◆ fValues

std::vector<double> ROOT::Math::MultiGenFunctionFitness::fValues
mutableprivate

Definition at line 24 of file GeneticMinimizer.cxx.

  • math/genetic/src/GeneticMinimizer.cxx