bpp-phyl3  3.0.0
DRTreeLikelihoodTools.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_LEGACY_LIKELIHOOD_DRTREELIKELIHOODTOOLS_H
6 #define BPP_PHYL_LEGACY_LIKELIHOOD_DRTREELIKELIHOODTOOLS_H
7 
9 
10 #include "DRTreeLikelihood.h"
11 #include "TreeLikelihoodTools.h"
12 
13 namespace bpp
14 {
19  public TreeLikelihoodTools
20 {
21 public:
30  const DRTreeLikelihoodInterface& drl,
31  int nodeId);
32 
45  const DRTreeLikelihoodInterface& drl,
46  int nodeId);
47 };
48 } // end of namespace bpp.
49 #endif // BPP_PHYL_LEGACY_LIKELIHOOD_DRTREELIKELIHOODTOOLS_H
Interface for double-recursive (DR) implementation of the likelihood computation.
Utilitary methods dealing with objects implementing the DRTreeLikelihood interface.
static VVVdouble getPosteriorProbabilitiesPerStatePerRate(const DRTreeLikelihoodInterface &drl, int nodeId)
Compute the posterior probabilities for each state and each rate of each distinct site.
static Vdouble getPosteriorStateFrequencies(const DRTreeLikelihoodInterface &drl, int nodeId)
Compute the posterior probabilities for each state for a given node.
Utilitary methods that work with TreeLikelihood objects.
Defines the basic types of data flow nodes.
std::vector< double > Vdouble
std::vector< VVdouble > VVVdouble