#include <util.H>
Public Member Functions | |
GmmCount () | |
Ctor; initializes fields to default values. | |
GmmCount (unsigned gmmIdx, unsigned frmIdx, double count) | |
Ctor; explicitly initializes all fields. | |
void | assign (unsigned gmmIdx, unsigned frmIdx, double count) |
Sets all values in object. | |
unsigned | get_gmm_index () const |
Returns the associated GMM index. | |
unsigned | get_frame_index () const |
Returns the associated frame index. | |
double | get_count () const |
Returns the posterior count. |
Holds a posterior count for a GMM at a frame. Includes the GMM index, the frame, and the posterior count. This is used to facilitate Forward-Backward and Viterbi EM training.
GmmCount::GmmCount | ( | ) | [inline] |
Ctor; initializes fields to default values.
GmmCount::GmmCount | ( | unsigned | gmmIdx, | |
unsigned | frmIdx, | |||
double | count | |||
) | [inline] |
Ctor; explicitly initializes all fields.
void GmmCount::assign | ( | unsigned | gmmIdx, | |
unsigned | frmIdx, | |||
double | count | |||
) | [inline] |
Sets all values in object.
unsigned GmmCount::get_gmm_index | ( | ) | const [inline] |
Returns the associated GMM index.
unsigned GmmCount::get_frame_index | ( | ) | const [inline] |
Returns the associated frame index.
double GmmCount::get_count | ( | ) | const [inline] |
Returns the posterior count.