48 fFrom = fInterval->GetMin();
49 fTo = fInterval->GetMax();
50 fNbins= fInterval->GetNbins();
51 fTotalLength = fTo-fFrom;
53 fRandomGenerator = rnd;
89 else return ReMap( ret );
Random number generator class based on M.
TRandom3 * fRandomGenerator
virtual Double_t Gaus(Double_t mean=0, Double_t sigma=1)
Samples a random number from the standard Normal (Gaussian) Distribution with the given mean and sigm...
virtual Double_t GetElement(Int_t position) const
calculates the value of the "number" bin in a discrete interval.
Double_t ReMapMirror(Double_t val)
remapping the value to the allowed space by reflecting on the boundaries
Double_t Random(Bool_t near=kFALSE, Double_t value=0, Double_t spread=0.1, Bool_t mirror=kFALSE)
creates a new random value for the coefficient Parameters: Bool_t near : takes a random value near th...
virtual Int_t GetNbins() const
Double_t ReMap(Double_t val)
remapping the value to the allowed space
virtual ~GeneticRange()
destructor
virtual Double_t Uniform(Double_t x1=1)
Returns a uniform deviate on the interval (0, x1).
Abstract ClassifierFactory template that handles arbitrary types.
Double_t RandomDiscrete()
creates a new random value for the coefficient; returns a discrete value