Added a siso_combined block analogous to the viterbi_combined; useful for FSMs with...
[debian/gnuradio] / gr-trellis / src / lib / trellis_siso_f.h
index 36981254dd607b309e9e298e2a4151689682d69d..4c2f41f4e952aa9f2293572719e30dfce9c7701c 100644 (file)
@@ -31,13 +31,14 @@ class trellis_siso_f;
 typedef boost::shared_ptr<trellis_siso_f> trellis_siso_f_sptr;
 
 trellis_siso_f_sptr trellis_make_siso_f (
-    const fsm &FSM, 
-    int K,
-    int S0,
-    int SK,
-    bool POSTI,
-    bool POSTO,
-    trellis_siso_type_t d_SISO_TYPE);
+    const fsm &FSM,    // underlying FSM
+    int K,             // block size in trellis steps
+    int S0,            // initial state (put -1 if not specified)
+    int SK,            // final state (put -1 if not specified)
+    bool POSTI,                // true if you want a-posteriori info about the input symbols to be mux-ed in the output
+    bool POSTO,                // true if you want a-posteriori info about the output symbols to be mux-ed in the output
+    trellis_siso_type_t d_SISO_TYPE // perform "min-sum" or "sum-product" combining 
+);
 
 
 
@@ -50,8 +51,8 @@ class trellis_siso_f : public gr_block
   bool d_POSTI;
   bool d_POSTO;
   trellis_siso_type_t d_SISO_TYPE;
-  std::vector<float> d_alpha;
-  std::vector<float> d_beta;
+  //std::vector<float> d_alpha;
+  //std::vector<float> d_beta;
 
   friend trellis_siso_f_sptr trellis_make_siso_f (
     const fsm &FSM,