#include <trellis.h>
List of all members.
Public Member Functions |
void | assign (int16_t st, int16_t n_score, int16_t tb_ptr, int16_t tb_sc) |
void | get (int16_t &st, int16_t &n_score) |
Public Attributes |
std::map< int32_t, int32_t > | tb |
Detailed Description
Definition at line 77 of file trellis.h.
Member Function Documentation
void StochHMM::nthTrace::assign |
( |
int16_t |
st, |
|
|
int16_t |
n_score, |
|
|
int16_t |
tb_ptr, |
|
|
int16_t |
tb_sc |
|
) |
| |
|
inline |
Definition at line 81 of file trellis.h.
References tb.
{
tb[(((int32_t) st) << 16 | n_score)] = (((int32_t)tb_ptr) << 16) | tb_sc;
}
void StochHMM::nthTrace::get |
( |
int16_t & |
st, |
|
|
int16_t & |
n_score |
|
) |
| |
|
inline |
Definition at line 85 of file trellis.h.
References tb.
{
int32_t key_val = (((int32_t) st) << 16 | n_score);
st = -1;
}
int32_t val =
tb[key_val];
st = (val >> 16) & 0xFFFF;
n_score = val & 0xFFFF;
}
Member Data Documentation
std::map<int32_t,int32_t> StochHMM::nthTrace::tb |
The documentation for this class was generated from the following file: