We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3929442 commit 5f51c2dCopy full SHA for 5f51c2d
viterbi.h
@@ -25,6 +25,7 @@
25
#include <functional>
26
#include <limits>
27
#include <vector>
28
+#include <stdexcept>
29
30
/*! A maximum likelihood decoder.
31
*
@@ -40,11 +41,11 @@
40
41
class viterbi
42
{
43
private:
- //! The number of input sequences (e.g. 2 for binary codes).
44
+ //! The number of possible input sequences (e.g. 2 for binary codes).
45
int d_I;
46
//! The number of states in the trellis.
47
int d_S;
- //! The number of output sequences (e.g. 4 for a binary code
48
+ //! The number of possible output sequences.
49
int d_O;
50
/* Gives the next state ns of a branch defined by its
51
* initial state s and its input symbol i : NS[s*I+i]=ns.
0 commit comments