From d5c192f9e3cde58589845b7b51057afc45d3bc79 Mon Sep 17 00:00:00 2001 From: anastas Date: Wed, 16 Aug 2006 20:07:36 +0000 Subject: Several enhancements to gr-trellis and gnuradio-examples/python/channel-coding: -Added fsm constructor for generating FSM directly from the generator matrix of binary convolutional codes. -Added functionality to fsm class to compute the best way to go from any state to any other state (useful for termination) -Added soft-in-soft-out (SISO) block for turbo processing -Added turbo decoding examples git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@3322 221aa14e-8319-0410-a670-987f0aec2ac5 --- gr-trellis/src/lib/trellis_encoder_bi.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gr-trellis/src/lib/trellis_encoder_bi.h') diff --git a/gr-trellis/src/lib/trellis_encoder_bi.h b/gr-trellis/src/lib/trellis_encoder_bi.h index 5212f6416..d86f38b68 100644 --- a/gr-trellis/src/lib/trellis_encoder_bi.h +++ b/gr-trellis/src/lib/trellis_encoder_bi.h @@ -31,7 +31,7 @@ class trellis_encoder_bi; typedef boost::shared_ptr trellis_encoder_bi_sptr; -trellis_encoder_bi_sptr trellis_make_encoder_bi (const fsm &FSM, const int ST); +trellis_encoder_bi_sptr trellis_make_encoder_bi (const fsm &FSM, int ST); /*! * \brief Convolutional encoder. @@ -42,10 +42,10 @@ trellis_encoder_bi_sptr trellis_make_encoder_bi (const fsm &FSM, const int ST); class trellis_encoder_bi : public gr_sync_block { private: - friend trellis_encoder_bi_sptr trellis_make_encoder_bi (const fsm &FSM, const int ST); + friend trellis_encoder_bi_sptr trellis_make_encoder_bi (const fsm &FSM, int ST); fsm d_FSM; int d_ST; - trellis_encoder_bi (const fsm &FSM, const int ST); + trellis_encoder_bi (const fsm &FSM, int ST); public: fsm FSM () const { return d_FSM; } -- cgit