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