30 #ifndef GRALE_POWERLAWDISTRIBUTION_H
32 #define GRALE_POWERLAWDISTRIBUTION_H
34 #include "graleconfig.h"
42 class GRALE_IMPORTEXPORT PowerLawDistribution :
public ProbabilityDistribution
45 PowerLawDistribution(
double min,
double max,
double alpha,
const mogal::RandomNumberGenerator *pRndGen);
46 ~PowerLawDistribution();
47 double pickNumber()
const;
49 double m_minValuePower, m_maxMinusMinPower;
50 double m_oneOverAlphaPlusOne;
55 #endif // GRALE_POWERLAWDISTRIBUTION_H