(smodel* smo, double* o, int T, double* log_p)
Viterbi algorithm: calculation of the viterbi path (best possible state sequenz for a given sequenz and a given model (smo)).
Documentation
Viterbi algorithm: calculation of the viterbi path (best possible
state sequenz for a given sequenz and a given model (smo)). Also
calculates logp according to this path, the matrices in the local_store
struct are allocated using stat_matrix_d_alloc.
- Parameters:
- - smo model
o - double-sequence
T - sequence length
log_p - log(p) of the sequence using the vitberbi path
- Returns:
- Viterbi-path
Alphabetic index
This page was generated with the help of DOC++.