5 #ifndef BPP_PHYL_LIKELIHOOD_PHYLOLIKELIHOODS_MIXTUREOFALIGNEDPHYLOLIKELIHOOD_H
6 #define BPP_PHYL_LIKELIHOOD_PHYLOLIKELIHOODS_MIXTUREOFALIGNEDPHYLOLIKELIHOOD_H
14 #include "../DataFlow/Simplex_DF.h"
37 mutable std::shared_ptr<AlignedLikelihoodCalculation>
likCal_;
42 std::shared_ptr<PhyloLikelihoodContainer> pC,
43 const std::vector<size_t>& nPhylo,
44 bool inCollection =
true);
The AlignedPhyloLikelihoodSet abstract class.
AbstractAlignedPhyloLikelihoodSet & operator=(const AbstractAlignedPhyloLikelihoodSet &soap)
The PhyloLikelihoodSet class, to manage a subset of PhyloLikelihoods from a given PhyloLikelihoodCont...
const Context & context() const override
Likelihood framework based on a mixture of aligned likelihoods.
Vdouble getPhyloProbabilities() const
Get the probabilities of the simplex.
std::shared_ptr< LikelihoodCalculation > getLikelihoodCalculation() const override
double getPhyloProb(size_t index) const
Get the probability of a phylolikelihood.
AlignedLikelihoodCalculation & alignedLikelihoodCalculation() const override
void fireParameterChanged(const ParameterList ¶meters) override
AlignedPhyloLikelihoodMixture * clone() const override
void setPhyloProb(Simplex const &simplex)
Set the probabilities of the simplex.
AlignedPhyloLikelihoodMixture(const AlignedPhyloLikelihoodMixture &mlc)
virtual ~AlignedPhyloLikelihoodMixture()
LikelihoodCalculation & likelihoodCalculation() const override
std::shared_ptr< AlignedLikelihoodCalculation > getAlignedLikelihoodCalculation() const override
AlignedPhyloLikelihoodMixture(Context &context, std::shared_ptr< PhyloLikelihoodContainer > pC, const std::vector< size_t > &nPhylo, bool inCollection=true)
std::shared_ptr< AlignedLikelihoodCalculation > likCal_
AlignedPhyloLikelihoodMixture & operator=(const AlignedPhyloLikelihoodMixture &mlc)
std::shared_ptr< ConfiguredSimplex > simplex_
Context for dataflow node construction.
Defines the basic types of data flow nodes.
std::vector< double > Vdouble