5 #ifndef BPP_NUMERIC_HMM_FULLHMMTRANSITIONMATRIX_H 6 #define BPP_NUMERIC_HMM_FULLHMMTRANSITIONMATRIX_H 9 #include "../AbstractParameterAliasable.h" 10 #include "../Prob/Simplex.h" 57 double Pij(
size_t i,
size_t j)
const 59 return vSimplex_[i].prob(j);
82 #endif // BPP_NUMERIC_HMM_FULLHMMTRANSITIONMATRIX_H The matrix template interface.
FullHmmTransitionMatrix & operator=(const FullHmmTransitionMatrix &hptm)
void fireParameterChanged(const ParameterList ¶meters)
From AbstractParametrizable interface.
FullHmmTransitionMatrix * clone() const
Create a copy of this object and send a pointer to it.
A partial implementation of the Parametrizable interface.
const Matrix< double > & getPij() const
Get all transition probabilities as a matrix.
FullHmmTransitionMatrix(std::shared_ptr< const HmmStateAlphabet > alph, const std::string &prefix="")
Describe the transition probabilities between hidden states of a Hidden Markov Model.
The parameter list object.
Partial implementation of HmmTransitionMatrix.
double Pij(size_t i, size_t j) const
Get the transition probability between two states.
void setTransitionProbabilities(const Matrix< double > &mat)
Set the matrix of the transition probabilities.
std::vector< Simplex > vSimplex_
const std::vector< double > & getEquilibriumFrequencies() const