41 #ifndef _RATEDISTRIBUTIONFACTORY_H_ 42 #define _RATEDISTRIBUTIONFACTORY_H_ 44 #include <Bpp/Numeric/Prob/DiscreteDistribution.h> 92 virtual DiscreteDistribution*
createDiscreteDistribution(
const std::string& distName,
unsigned int nbClasses)
throw (Exception);
109 #endif //_RATEDISTRIBUTIONFACTORY_H_ static const std::string GAMMA_DISTRIBUTION
static const std::string CONSTANT_DISTRIBUTION
static const std::string GAUSSIAN_DISTRIBUTION
RateDistributionFactory(unsigned int nbClasses=4)
Creates a new factory object.
virtual DiscreteDistribution * createDiscreteDistribution(const std::string &distName)
Get a new dynamically created DiscreteDistribution object.
Utilitary class for creating rate distributions.
static const std::string EXPONENTIAL_DISTRIBUTION
virtual ~RateDistributionFactory()
virtual DiscreteDistribution * createDiscreteDistribution(const std::string &distName, unsigned int nbClasses)
Get a new dynamically created DiscreteDistribution object.