ToPS
Public Member Functions
tops::GeneralizedHiddenMarkovModel Class Reference

This is a class representing Hidden semi-Markov Models. More...

#include <GeneralizedHiddenMarkovModel.hpp>

Inheritance diagram for tops::GeneralizedHiddenMarkovModel:
tops::DecodableModel tops::ProbabilisticModel

List of all members.

Public Member Functions

virtual double forward (const Sequence &s, Matrix &alpha) const
 Forward algorithm.
virtual double backward (const Sequence &s, Matrix &beta) const
 Backward algorithm.
virtual double viterbi (const Sequence &s, Sequence &path, Matrix &gamma) const
 Viterbi algorithm.
virtual void choosePath (const Sequence &s, Sequence &path)
 Choose a path given a sequence_length.
virtual double _viterbi (const Sequence &s, Sequence &path, Matrix &gamma) const
 Inefficient Viterbi algorithm.
virtual Sequence & chooseObservation (Sequence &h, int i, int state) const
 Choose the observation given a state.
virtual int chooseState (int state) const
 Choose a state.
virtual int chooseFirstState () const
 Choose the initial state.
virtual DiscreteIIDModelPtr getInitialProbabilities () const
 Choose the initial state.
virtual std::string getStateName (int state) const
 Get state name.
virtual AlphabetPtr getStateNames () const
 Get the state names.
virtual std::string model_name () const
 returns the model name
virtual std::string str () const
 returns the string representation of the model

Detailed Description

This is a class representing Hidden semi-Markov Models.

Definition at line 45 of file GeneralizedHiddenMarkovModel.hpp.


The documentation for this class was generated from the following files: