bpp-phyl  2.2.0
RASTools.h
Go to the documentation of this file.
1 //
2 // File: RASTools.h
3 // Created by: Julien Dutheil
4 // Created on: May 24 2004
5 //
6 
7 /*
8 Copyright or © or Copr. CNRS, (November 16, 2004)
9 
10 Julien.Dutheil@univ-montp2.fr
11 
12 This software is a computer program whose purpose is to provide classes
13 for phylogenetic data analysis.
14 
15 This software is governed by the CeCILL license under French law and
16 abiding by the rules of distribution of free software. You can use,
17 modify and/ or redistribute the software under the terms of the CeCILL
18 license as circulated by CEA, CNRS and INRIA at the following URL
19 "http://www.cecill.info".
20 
21 As a counterpart to the access to the source code and rights to copy,
22 modify and redistribute granted by the license, users are provided only
23 with a limited warranty and the software's author, the holder of the
24 economic rights, and the successive licensors have only limited
25 liability.
26 
27 In this respect, the user's attention is drawn to the risks associated
28 with loading, using, modifying and/or developing or reproducing the
29 software by the user in light of its specific status of free software,
30 that may mean that it is complicated to manipulate, and that also
31 therefore means that it is reserved for developers and experienced
32 professionals having in-depth computer knowledge. Users are therefore
33 encouraged to load and test the software's suitability as regards their
34 requirements in conditions enabling the security of their systems and/or
35 data to be ensured and, more generally, to use and operate it in the
36 same conditions as regards security.
37 
38 The fact that you are presently reading this means that you have had
39 knowledge of the CeCILL license and that you accept its terms.
40 */
41 
42 #ifndef _RASTOOLS_H_
43 #define _RASTOOLS_H_
44 
46 
47 #include <Bpp/Numeric/Prob/DiscreteDistribution.h>
48 
49 namespace bpp
50 {
51 
55 class RASTools
56 {
57  public:
58 
69  static DiscreteDistribution * getPosteriorRateDistribution(
70  const DiscreteRatesAcrossSitesTreeLikelihood & treeLikelihood);
71 };
72 
73 } //end of namespace bpp.
74 
75 #endif // _RASTOOLS_H_
76 
Interface for rate across sites (RAS) implementation.
Tools to deal with Rates Across Sites (RAS) models.
Definition: RASTools.h:55
static DiscreteDistribution * getPosteriorRateDistribution(const DiscreteRatesAcrossSitesTreeLikelihood &treeLikelihood)
Get the rate distribution estimated from a dataset.
Definition: RASTools.cpp:51