Interface class for viterbi observations. 更多...
#include <Viterbi.h>
Public 成员函数 | |
| virtual float | GetEmissionLogProbability (int32 InTimeStep, int32 InState) const =0 |
| Returns the log probability for a given state at a specific time step. 更多... | |
| virtual int32 | GetNumStates () const =0 |
| Returns the number of states at a given states. | |
| virtual int32 | GetNumTimeSteps () const =0 |
| Returns the number of given time steps. | |
Interface class for viterbi observations.
An IViterbiObservations serves as the source of information for the
Emission log probability for a given state and timestep.
Note that probabilities are returned as the logarithm of a probability to avoid numerical under/over flows.
|
pure virtual |
Returns the log probability for a given state at a specific time step.
| InTimeStep | - The timestep of interest in the range [0 , GetNumTimeSteps() - 1]. |
| InState | - The state of interest in the range [0, GetNumStates() - 1]. |