summaryrefslogtreecommitdiff
path: root/gr-trellis/src/lib/trellis_siso_f.h
diff options
context:
space:
mode:
authoranastas2006-08-30 18:33:26 +0000
committeranastas2006-08-30 18:33:26 +0000
commit07759120a1e53495aea91215d507977c83cfe431 (patch)
tree9997560b1ee4580792e588df014e4384fcd1f2aa /gr-trellis/src/lib/trellis_siso_f.h
parent2dd336e418b5459558e7590e2d72347b1b689522 (diff)
downloadgnuradio-07759120a1e53495aea91215d507977c83cfe431.tar.gz
gnuradio-07759120a1e53495aea91215d507977c83cfe431.tar.bz2
gnuradio-07759120a1e53495aea91215d507977c83cfe431.zip
Added a siso_combined block analogous to the viterbi_combined; useful for FSMs with a large output alphabet
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@3452 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'gr-trellis/src/lib/trellis_siso_f.h')
-rw-r--r--gr-trellis/src/lib/trellis_siso_f.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/gr-trellis/src/lib/trellis_siso_f.h b/gr-trellis/src/lib/trellis_siso_f.h
index 36981254d..4c2f41f4e 100644
--- a/gr-trellis/src/lib/trellis_siso_f.h
+++ b/gr-trellis/src/lib/trellis_siso_f.h
@@ -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,