ToPS
|
This class is a Variable Length Markov Chain. More...
#include <VariableLengthMarkovChain.hpp>
Public Member Functions | |
virtual void | setTree (ContextTreePtr tree) |
Set the context tree of the Markov chain. | |
virtual ContextTreePtr | getTree () |
Returns the context tree. | |
virtual double | evaluatePosition (const Sequence &s, unsigned int i) const |
Evaluate the position i of the sequence s. | |
virtual double | choosePosition (const Sequence &s, int i) const |
Choose the position i of the sequence s given the subsequence before the position i. | |
virtual std::string | str () const |
Returns a string representation of the model. | |
virtual std::string | model_name () const |
Returns the name of the model. | |
virtual ProbabilisticModelCreatorPtr | getFactory () const |
Returns a factory for this Markov chain. | |
virtual int | size () const |
Returns the number of parameters of the model. | |
virtual void | initialize (const ProbabilisticModelParameters &p) |
Initialize the Markov chain given the parameters. | |
virtual ProbabilisticModelParameters | parameters () const |
Returns the parameters of the model. |
This class is a Variable Length Markov Chain.
Definition at line 43 of file VariableLengthMarkovChain.hpp.