#include <lab4_vit.H>
Public Member Functions | |
FrameCell () | |
Ctor; inits log prob to g_zeroLogProb and node index to 0. | |
void | assign (double logProb, unsigned nodeIdx) |
Sets associated log prob and WordTree node index. | |
double | get_log_prob () const |
Returns log prob of cell. | |
unsigned | get_node_index () const |
Returns node index in WordTree for best incoming word sequence. |
Holds Viterbi log prob; and arc ID of best incoming arc for backtrace.
FrameCell::FrameCell | ( | ) | [inline] |
Ctor; inits log prob to g_zeroLogProb and node index to 0.
void FrameCell::assign | ( | double | logProb, | |
unsigned | nodeIdx | |||
) | [inline] |
Sets associated log prob and WordTree node index.
double FrameCell::get_log_prob | ( | ) | const [inline] |
Returns log prob of cell.
unsigned FrameCell::get_node_index | ( | ) | const [inline] |
Returns node index in WordTree for best incoming word sequence.