int sdfoba_forward

(sdmodel* mo, const int* O, int len,
  double** alpha, double* scale,
  double* log_p)

Forward-Algorithm.

Documentation

Forward-Algorithm. Calculates alpha[t][i], scaling factors scale[t] and log( P(O|lambda) ) for a given double sequence and a given model.
Parameters:
- smo model
O - sequence
length - : length of sequence
alpha - : alpha[t][i]
scale - : a reference for double type, scale factors
log - \_p: a reference for double type, log likelihood log( P(O|lambda) )
Returns:
0 for success, -1 for error

Alphabetic index



This page was generated with the help of DOC++.