11 #ifndef VITERBI_COMBINED_H
12 #define VITERBI_COMBINED_H
27 template <
class IN_T,
class OUT_T>
31 typedef std::shared_ptr<viterbi_combined<IN_T, OUT_T>>
sptr;
38 const std::vector<IN_T>& TABLE,
42 virtual int K()
const = 0;
43 virtual int S0()
const = 0;
44 virtual int SK()
const = 0;
45 virtual int D()
const = 0;
46 virtual std::vector<IN_T>
TABLE()
const = 0;
54 virtual void set_TABLE(
const std::vector<IN_T>& table) = 0;
#define D(...)
Definition: basic_block_pydoc_template.h:10
The abstract base class for all 'terminal' processing blocks.
Definition: gnuradio-runtime/include/gnuradio/block.h:63
Finite State Machine Specification class.
Definition: fsm.h:33
Definition: viterbi_combined.h:29
static sptr make(const fsm &FSM, int K, int S0, int SK, int D, const std::vector< IN_T > &TABLE, digital::trellis_metric_type_t TYPE)
virtual void set_K(int K)=0
virtual void set_TABLE(const std::vector< IN_T > &table)=0
virtual void set_FSM(const fsm &FSM)=0
virtual int SK() const =0
virtual void set_SK(int SK)=0
virtual void set_TYPE(digital::trellis_metric_type_t type)=0
virtual std::vector< IN_T > TABLE() const =0
virtual int S0() const =0
std::shared_ptr< viterbi_combined< IN_T, OUT_T > > sptr
Definition: viterbi_combined.h:31
virtual void set_S0(int S0)=0
virtual digital::trellis_metric_type_t TYPE() const =0
virtual fsm FSM() const =0
virtual void set_D(int D)=0
#define TRELLIS_API
Definition: gr-trellis/include/gnuradio/trellis/api.h:18
trellis_metric_type_t
Definition: metric_type.h:17
viterbi_combined< std::int16_t, std::uint8_t > viterbi_combined_sb
Definition: viterbi_combined.h:58
viterbi_combined< std::int32_t, std::int32_t > viterbi_combined_ii
Definition: viterbi_combined.h:63
viterbi_combined< float, std::int16_t > viterbi_combined_fs
Definition: viterbi_combined.h:65
viterbi_combined< std::int16_t, std::int16_t > viterbi_combined_ss
Definition: viterbi_combined.h:59
viterbi_combined< gr_complex, std::int32_t > viterbi_combined_ci
Definition: viterbi_combined.h:69
viterbi_combined< std::int32_t, std::uint8_t > viterbi_combined_ib
Definition: viterbi_combined.h:61
viterbi_combined< gr_complex, std::uint8_t > viterbi_combined_cb
Definition: viterbi_combined.h:67
viterbi_combined< std::int32_t, std::int16_t > viterbi_combined_is
Definition: viterbi_combined.h:62
viterbi_combined< float, std::int32_t > viterbi_combined_fi
Definition: viterbi_combined.h:66
viterbi_combined< gr_complex, std::int16_t > viterbi_combined_cs
Definition: viterbi_combined.h:68
viterbi_combined< std::int16_t, std::int32_t > viterbi_combined_si
Definition: viterbi_combined.h:60
viterbi_combined< float, std::uint8_t > viterbi_combined_fb
Definition: viterbi_combined.h:64
GNU Radio logging wrapper.
Definition: basic_block.h:29