int foba_forward

(model* mo, const int* O, int length,
  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:
mo - : model
O - : sequence
len - : length of sequence
alpha - : alpha[t][i]
scale - : scale factors
log - \_p: log likelihood log( P(O|lambda) )
Returns:
0 for success, -1 for error

Alphabetic index



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