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