12 context_(alphabet->getContext()),
15 nbSites_(alphabet->getNumberOfSites())
28 phylAlph_ = dynamic_pointer_cast<HmmPhyloAlphabet>(stateAlphabet);
30 std::vector<std::shared_ptr<Node_DF>> vEM;
32 auto nbStates =
phylAlph_->getNumberOfStates();
34 for (
size_t i = 0; i < nbStates; i++)
36 auto tmp =
phylAlph_->alignedPhyloLikelihood(i).alignedLikelihoodCalculation().getSiteLikelihoods(
false);
ValueRef< MatrixLik > emProb_
HmmPhyloEmissionProbabilities(std::shared_ptr< HmmPhyloAlphabet > alphabet)
void setHmmStateAlphabet(std::shared_ptr< HmmStateAlphabet > stateAlphabet)
Set the new hidden state alphabet.
std::shared_ptr< HmmPhyloAlphabet > phylAlph_
Defines the basic types of data flow nodes.
Store a dimension for type T.