(pmodel* mo, psequence* X, psequence* Y,
double* log_p, int* path_length)
Viterbi algorithm.
Documentation
Viterbi algorithm. Calculates the Viterbi path (the optimal path trough
the model) and the Viterbi probability to a given model and a given
sequence. The matrices in the local_store struct are allocated using
stat_matrix_d_alloc.
- Parameters:
- mo - : model
o - : sequence
len - : length of the sequence
log_p - : probability of the sequence in the Viterbi path
- Returns:
- Viterbi path
Alphabetic index
This page was generated with the help of DOC++.