42 #include "../../Text/TextTools.h"
43 #include "../Matrix/MatrixTools.h"
44 #include "../VectorTools.h"
57 for (
size_t i = 0; i < size; i++)
63 for (
size_t i = 0; i < size; i++)
73 vAutocorrel_(aptm.vAutocorrel_)
79 AbstractParametrizable::operator=(aptm);
113 for (
size_t i = 0; i < salph; i++)
Partial implementation of HmmTransitionMatrix.
size_t getNumberOfStates() const
AbstractHmmTransitionMatrix & operator=(const AbstractHmmTransitionMatrix &hptm)
A partial implementation of the Parametrizable interface.
virtual void addParameter_(Parameter *parameter)
double getParameterValue(const std::string &name) const
Get the value for parameter of name 'name'.
Describe the auto-correlation probabilities inside hidden states of a Hidden Markov Model.
AutoCorrelationTransitionMatrix & operator=(const AutoCorrelationTransitionMatrix &hptm)
AutoCorrelationTransitionMatrix(const HmmStateAlphabet *alph, const std::string &prefix="")
const std::vector< double > & getEquilibriumFrequencies() const
void fireParameterChanged(const ParameterList ¶meters)
Notify the class when one or several parameters have changed.
std::vector< double > vAutocorrel_
const Matrix< double > & getPij() const
Get all transition probabilities as a matrix.
The matrix template interface.
The parameter list object.
This class is designed to facilitate the manipulation of parameters.
static const std::shared_ptr< IntervalConstraint > PROP_CONSTRAINT_EX
std::string toString(T t)
General template method to convert to a string.