bpp-phyl3
3.0.0
ExponentialDiscreteRateDistribution.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_EXPONENTIALDISCRETERATEDISTRIBUTION_H
6
#define BPP_PHYL_MODEL_RATEDISTRIBUTION_EXPONENTIALDISCRETERATEDISTRIBUTION_H
7
8
9
// From bpp-core
10
#include <
Bpp/Numeric/Prob/ExponentialDiscreteDistribution.h
>
11
12
namespace
bpp
13
{
14
class
ExponentialDiscreteRateDistribution
:
15
public
ExponentialDiscreteDistribution
16
{
17
public
:
18
ExponentialDiscreteRateDistribution
(
size_t
nbClasses) :
19
ExponentialDiscreteDistribution
(nbClasses, 1.)
20
{
21
deleteParameter_
(0);
22
}
23
24
ExponentialDiscreteRateDistribution
*
clone
()
const
{
return
new
ExponentialDiscreteRateDistribution
(*
this
); }
25
};
26
}
// end of namespace bpp;
27
#endif
// BPP_PHYL_MODEL_RATEDISTRIBUTION_EXPONENTIALDISCRETERATEDISTRIBUTION_H
ExponentialDiscreteDistribution.h
bpp::ExponentialDiscreteDistribution::deleteParameter_
void deleteParameter_(size_t index)
bpp::ExponentialDiscreteDistribution
bpp::ExponentialDiscreteRateDistribution
Definition:
ExponentialDiscreteRateDistribution.h:16
bpp::ExponentialDiscreteRateDistribution::ExponentialDiscreteRateDistribution
ExponentialDiscreteRateDistribution(size_t nbClasses)
Definition:
ExponentialDiscreteRateDistribution.h:18
bpp::ExponentialDiscreteRateDistribution::clone
ExponentialDiscreteRateDistribution * clone() const
Definition:
ExponentialDiscreteRateDistribution.h:24
bpp
Defines the basic types of data flow nodes.
Bpp
Phyl
Model
RateDistribution
ExponentialDiscreteRateDistribution.h
Generated on Fri Jul 19 2024 11:49:22 for bpp-phyl3 by
1.9.1