VitCell Class Reference

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

#include <lab2_vit.H>

List of all members.

Public Member Functions

 VitCell ()
 Ctor; inits log prob to g_zeroLogProb and arc ID to -1.
void assign (double logProb, int arcId)
 Sets associated log prob and arc ID.
double get_log_prob () const
 Returns log prob of cell.
int get_arc_id () const
 Returns arc ID of cell.


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

VitCell::VitCell (  )  [inline]

Ctor; inits log prob to g_zeroLogProb and arc ID to -1.


Member Function Documentation

void VitCell::assign ( double  logProb,
int  arcId 
) [inline]

Sets associated log prob and arc ID.

double VitCell::get_log_prob (  )  const [inline]

Returns log prob of cell.

int VitCell::get_arc_id (  )  const [inline]

Returns arc ID of cell.


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

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