Function
forwardAlgorithm
Implements the forward algorithm.
Given a Hidden Markov Model hmm , the forward algorithm computes the probability of the sequence seq .
Include Headers
seqan/graph_algorithms.h
Parameters
In-parameter:Input HMM. Types: Hmm | |
In-parameter:Input sequence. |
Remarks
See the Wikipedia article on the Foward algorithm for an introduction to the algorithm itself.
Return Values
Probability of the sequence seq , TProbability is the type parameter TCargo of the type of hmm .
See Also
SeqAn - Sequence Analysis Library - www.seqan.de