A++ » TMVA » TMVA::GeneticRange

class TMVA::GeneticRange


GeneticRange

Range definition for genetic algorithm


Function Members (Methods)

public:
virtual~GeneticRange()
static TClass*Class()
TMVA::GeneticRangeGeneticRange(const TMVA::GeneticRange&)
TMVA::GeneticRangeGeneticRange(TRandom3* rnd, TMVA::Interval* interval)
Double_tGetFrom()
Double_tGetTo()
Double_tGetTotalLength()
virtual TClass*IsA() const
TMVA::GeneticRange&operator=(const TMVA::GeneticRange&)
Double_tRandom(Bool_t near = kFALSE, Double_t value = 0, Double_t spread = 0.10000000000000001, Bool_t mirror = kFALSE)
Double_tRandomDiscrete()
virtual voidShowMembers(TMemberInspector& insp) const
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)

Data Members

private:
Double_tfFromthe constraints of the coefficient
TMVA::Interval*fIntervalholds the complete information of the interval
Int_tfNbins
TRandom3*fRandomGeneratorthe randomGenerator for calculating the new values
Double_tfTothe constraints of the coefficient
Double_tfTotalLengththe distance between the lower and upper constraints

Class Charts

Inheritance Chart:
TMVA::GeneticRange

Function documentation

GeneticRange(TRandom3* rnd, TMVA::Interval* interval)
virtual ~GeneticRange()
Double_t Random(Bool_t near = kFALSE, Double_t value = 0, Double_t spread = 0.10000000000000001, Bool_t mirror = kFALSE)
Double_t RandomDiscrete()
Double_t GetFrom()
{ return fFrom; }
Double_t GetTo()
{ return fTo; }
Double_t GetTotalLength()
{ return fTotalLength; }
Double_t ReMap(Double_t val)
 maps the values thrown outside of the ]from,to] interval back to the interval
 the values which leave the range on the from-side, are mapped in to the to-side
Double_t ReMapMirror(Double_t val)
 same as before, but the values leaving the allowed range, are mirrored into the range.