virtual | ~GeneticRange() |
static TClass* | Class() |
TMVA::GeneticRange | GeneticRange(const TMVA::GeneticRange&) |
TMVA::GeneticRange | GeneticRange(TRandom3* rnd, TMVA::Interval* interval) |
Double_t | GetFrom() |
Double_t | GetTo() |
Double_t | GetTotalLength() |
virtual TClass* | IsA() const |
TMVA::GeneticRange& | operator=(const TMVA::GeneticRange&) |
Double_t | Random(Bool_t near = kFALSE, Double_t value = 0, Double_t spread = 0.10000000000000001, Bool_t mirror = kFALSE) |
Double_t | RandomDiscrete() |
virtual void | ShowMembers(TMemberInspector& insp) const |
virtual void | Streamer(TBuffer&) |
void | StreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b) |
Double_t | fFrom | the constraints of the coefficient |
TMVA::Interval* | fInterval | holds the complete information of the interval |
Int_t | fNbins | |
TRandom3* | fRandomGenerator | the randomGenerator for calculating the new values |
Double_t | fTo | the constraints of the coefficient |
Double_t | fTotalLength | the distance between the lower and upper constraints |
defines the "f" (from) and "t" (to) of the coefficient and takes a randomgenerator
creates a new random value for the coefficient Parameters: Bool_t near : takes a random value near the current value double value : this is the current value double spread : the sigma of the gaussian which is taken to calculate the new value Bool_t mirror : if the new value would be outside of the range, mirror = false maps the value between the constraints by periodic boundary conditions. With mirror = true, the value gets "reflected" on the boundaries.
remapping the value to the allowed space by reflecting on the boundaries