FrameCell Class Reference

Cell in dynamic programming chart for Viterbi algorithm. More...

#include <lab4_vit.H>

List of all members.

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.


Detailed Description

Cell in dynamic programming chart for Viterbi algorithm.

Holds Viterbi log prob; and arc ID of best incoming arc for backtrace.


Constructor & Destructor Documentation

FrameCell::FrameCell (  )  [inline]

Ctor; inits log prob to g_zeroLogProb and node index to 0.


Member Function Documentation

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.


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

Generated on Thu Nov 5 09:26:30 2009 for asr_lib by  doxygen 1.5.5