15 AutoCorrelationProcessPhyloLikelihood::AutoCorrelationProcessPhyloLikelihood(
16 shared_ptr<const AlignmentDataInterface> data,
17 shared_ptr<AutoCorrelationSequenceEvolution> processSeqEvol,
18 shared_ptr<CollectionNodes> collNodes,
25 data->getNumberOfSites(),
26 (processSeqEvol->getSubstitutionProcessNumbers().size() != 0)
27 ? processSeqEvol->substitutionProcess(processSeqEvol->getSubstitutionProcessNumbers()[0]).getNumberOfStates()
36 auto alphyl = make_shared<HmmPhyloAlphabet>(*
this);
38 Hpep_ = make_shared<HmmPhyloEmissionProbabilities>(alphyl);
40 hmm_ = shared_ptr<HmmLikelihood_DF>(
new HmmLikelihood_DF(context(), processSeqEvol->getHmmProcessAlphabet(), processSeqEvol->getHmmTransitionMatrix(), Hpep_));
42 addParameters_(hmm_->getParameters());
45 void AutoCorrelationProcessPhyloLikelihood::setNamespace(
const std::string& nameSpace)
48 hmm_->setNamespace(nameSpace);
56 hmm_->matchParametersValues(parameters);
virtual void fireParameterChanged(const ParameterList ¶meters) override
void setNamespace(const std::string &nameSpace) override
void fireParameterChanged(const ParameterList ¶meters) override
std::shared_ptr< HmmLikelihood_DF > hmm_
A simple implementation of hidden Markov models recursion, in DataFlow implementation.
Partial implementation of the Likelihood interface for multiple processes.
Defines the basic types of data flow nodes.