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