#include <HMM.h>
Inheritance diagram for HMM:
HMM (predictorparams ¶ms) | |
HMM (unsigned int numHiddenStates, unsigned int numAlphabetSymbols) | |
virtual | ~HMM () |
virtual void | addContexts (const membershiplist *contexts, time_t time) |
virtual void | addContext (unsigned long contextId, time_t time) |
virtual unsigned long | getNextContext () const |
virtual membershiplist | getNextContexts () const |
virtual contexttrajectory | getContextTrajectory (unsigned int start, unsigned int end) const |
virtual unsigned long | getContextAt (time_t time) const |
virtual membershiplist | getContextsAt (time_t time) const |
virtual string | serialize () const |
virtual void | unserialize (string data) |
void | addContextTrajectory (const vector< unsigned int > &traj, unsigned int from, unsigned int to, unsigned int slidingWindowSize, unsigned int slidingWindowHops) |
helper function until I find out how to do a iterative model update.... | |
unsigned long | getNextContext (const vector< unsigned int > &window) const |
vector< unsigned long > | getNextContextsMultiStep (const vector< unsigned int > &window, unsigned int numSteps) const |
virtual membershiplist | getNextContexts (const vector< unsigned int > &window) const |
virtual string | toString () const |
|
Destructor |
|
Implements PredictorAlgorithm. |
|
Implements PredictorAlgorithm. |
|
Implements PredictorAlgorithm. |
|
Implements PredictorAlgorithm. |
|
Implements PredictorAlgorithm. |
|
Implements PredictorAlgorithm. |
|
Implements PredictorAlgorithm. |
|
Serialize a predictors data to a string
Implements PredictorAlgorithm. |
|
This is only for testing. Implements PredictorAlgorithm. |
|
Unserialize a predictors data from a string
Implements PredictorAlgorithm. |