bpp-phyl3 3.0.0
GammaDiscreteRateDistribution.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: The Bio++ Development Group
2//
3// SPDX-License-Identifier: CECILL-2.1
4
5#ifndef BPP_PHYL_MODEL_RATEDISTRIBUTION_GAMMADISCRETERATEDISTRIBUTION_H
6#define BPP_PHYL_MODEL_RATEDISTRIBUTION_GAMMADISCRETERATEDISTRIBUTION_H
7
8
9// From bpp-core
11
12namespace bpp
13{
16{
17public:
18 GammaDiscreteRateDistribution(size_t nbClasses, double alpha = 1.) :
19 GammaDiscreteDistribution(nbClasses, alpha, alpha)
20 {
21 aliasParameters("alpha", "beta");
22 }
23
25};
26} // end of namespace bpp;
27#endif // BPP_PHYL_MODEL_RATEDISTRIBUTION_GAMMADISCRETERATEDISTRIBUTION_H
GammaDiscreteRateDistribution * clone() const
GammaDiscreteRateDistribution(size_t nbClasses, double alpha=1.)
virtual void aliasParameters(const std::string &p1, const std::string &p2)=0
Defines the basic types of data flow nodes.