5 #ifndef BPP_PHYL_LIKELIHOOD_PHYLOLIKELIHOODS_AUTOCORRELATIONPROCESSPHYLOLIKELIHOOD_H
6 #define BPP_PHYL_LIKELIHOOD_PHYLOLIKELIHOODS_AUTOCORRELATIONPROCESSPHYLOLIKELIHOOD_H
9 #include "../AutoCorrelationSequenceEvolution.h"
33 std::shared_ptr<HmmPhyloEmissionProbabilities>
Hpep_;
35 mutable std::shared_ptr<HmmLikelihood_DF>
hmm_;
39 std::shared_ptr<const AlignmentDataInterface> data,
40 std::shared_ptr<AutoCorrelationSequenceEvolution> processSeqEvol,
41 std::shared_ptr<CollectionNodes> collNodes,
74 void setNamespace(
const std::string& nameSpace)
override;
111 auto mat =
hmm_->getHiddenStatesPosteriorProbabilities().transpose();
118 return hmm_->getHmmTransitionMatrix();
Likelihood framework based on an auto-correlation of simple likelihoods.
AutoCorrelationProcessPhyloLikelihood(std::shared_ptr< const AlignmentDataInterface > data, std::shared_ptr< AutoCorrelationSequenceEvolution > processSeqEvol, std::shared_ptr< CollectionNodes > collNodes, size_t nSeqEvol=0, size_t nData=0)
const Eigen::MatrixXd & getHmmTransitionMatrix() const
AutoCorrelationProcessPhyloLikelihood & operator=(const AutoCorrelationProcessPhyloLikelihood &mlc)
AlignedLikelihoodCalculation & alignedLikelihoodCalculation() const override
void fireParameterChanged(const ParameterList ¶meters) override
std::shared_ptr< HmmLikelihood_DF > hmm_
std::shared_ptr< LikelihoodCalculation > getLikelihoodCalculation() const override
AutoCorrelationProcessPhyloLikelihood * clone() const override
virtual ~AutoCorrelationProcessPhyloLikelihood()
AutoCorrelationProcessPhyloLikelihood(const AutoCorrelationProcessPhyloLikelihood &mlc)
void setNamespace(const std::string &nameSpace) override
std::shared_ptr< HmmPhyloEmissionProbabilities > Hpep_
std::shared_ptr< AlignedLikelihoodCalculation > getAlignedLikelihoodCalculation() const override
VVdouble getPosteriorProbabilitiesPerSitePerProcess() const override
return the posterior probabilities of subprocess on each site.
LikelihoodCalculation & likelihoodCalculation() const override
Partial implementation of the Likelihood interface for multiple processes.
MultiProcessSequencePhyloLikelihood & operator=(const MultiProcessSequencePhyloLikelihood &mpspl)
Defines the basic types of data flow nodes.
template void copyEigenToBpp(const ExtendedFloatMatrixXd &eigenMatrix, std::vector< std::vector< double >> &bppMatrix)
std::vector< Vdouble > VVdouble