5 #ifndef BPP_NUMERIC_HMM_HMMTRANSITIONMATRIX_H 6 #define BPP_NUMERIC_HMM_HMMTRANSITIONMATRIX_H 9 #include "../Matrix/Matrix.h" 10 #include "../Parametrizable.h" 45 virtual void setHmmStateAlphabet(std::shared_ptr<const HmmStateAlphabet> stateAlphabet) = 0;
59 virtual double Pij(
size_t i,
size_t j)
const = 0;
74 #endif // BPP_NUMERIC_HMM_HMMTRANSITIONMATRIX_H
The matrix template interface.
virtual void setHmmStateAlphabet(std::shared_ptr< const HmmStateAlphabet > stateAlphabet)=0
Set the new hidden state alphabet.
virtual const Matrix< double > & getPij() const =0
Get all transition probabilities as a matrix.
virtual const HmmStateAlphabet & hmmStateAlphabet() const =0
virtual HmmTransitionMatrix * clone() const override=0
Create a copy of this object and send a pointer to it.
This is the interface for all objects that imply parameters.
virtual size_t getNumberOfStates() const =0
virtual const std::vector< double > & getEquilibriumFrequencies() const =0
virtual std::shared_ptr< const HmmStateAlphabet > getHmmStateAlphabet() const =0
virtual double Pij(size_t i, size_t j) const =0
Get the transition probability between two states.
Describe the transition probabilities between hidden states of a Hidden Markov Model.