23 #ifndef INCLUDED_CORE_ALGORITHMS_H 24 #define INCLUDED_CORE_ALGORITHMS_H 35 float min(
float a,
float b);
42 const std::vector<int>& NS,
43 const std::vector<int>& OS,
44 const std::vector<std::vector<int>>& PS,
45 const std::vector<std::vector<int>>& PI,
52 template <
class Ti,
class To>
56 const std::vector<int>& NS,
57 const std::vector<int>& OS,
58 const std::vector<std::vector<int>>& PS,
59 const std::vector<std::vector<int>>& PI,
64 const std::vector<Ti>& TABLE,
72 const std::vector<int>& NS,
73 const std::vector<int>& OS,
74 const std::vector<std::vector<int>>& PS,
75 const std::vector<std::vector<int>>& PI,
81 float (*p2mymin)(
float,
float),
90 const std::vector<int>& NS,
91 const std::vector<int>& OS,
92 const std::vector<std::vector<int>>& PS,
93 const std::vector<std::vector<int>>& PI,
99 float (*p2mymin)(
float,
float),
101 const std::vector<T>& TABLE,
104 const T* observations,
114 const interleaver& INTERLEAVER,
117 float (*p2mymin)(
float,
float),
118 const float* iprioro,
121 template <
class Ti,
class To>
128 const interleaver& INTERLEAVER,
131 float (*p2mymin)(
float,
float),
133 const std::vector<Ti>& TABLE,
136 const Ti* observations,
146 const interleaver& INTERLEAVER,
149 float (*p2mymin)(
float,
float),
150 const float* cprioro,
153 template <
class Ti,
class To>
160 const interleaver& INTERLEAVER,
163 float (*p2mymin)(
float,
float),
165 const std::vector<Ti>& TABLE,
168 const Ti* observations,
void pccc_decoder_combined(const fsm &FSM1, int ST10, int ST1K, const fsm &FSM2, int ST20, int ST2K, const interleaver &INTERLEAVER, int blocklength, int iterations, float(*p2mymin)(float, float), int D, const std::vector< Ti > &TABLE, digital::trellis_metric_type_t METRIC_TYPE, float scaling, const Ti *observations, To *data)
void sccc_decoder(const fsm &FSMo, int STo0, int SToK, const fsm &FSMi, int STi0, int STiK, const interleaver &INTERLEAVER, int blocklength, int iterations, float(*p2mymin)(float, float), const float *iprioro, T *data)
float min(float a, float b)
void sccc_decoder_combined(const fsm &FSMo, int STo0, int SToK, const fsm &FSMi, int STi0, int STiK, const interleaver &INTERLEAVER, int blocklength, int iterations, float(*p2mymin)(float, float), int D, const std::vector< Ti > &TABLE, digital::trellis_metric_type_t METRIC_TYPE, float scaling, const Ti *observations, To *data)
void pccc_decoder(const fsm &FSM1, int ST10, int ST1K, const fsm &FSM2, int ST20, int ST2K, const interleaver &INTERLEAVER, int blocklength, int iterations, float(*p2mymin)(float, float), const float *cprioro, T *data)
trellis_metric_type_t
Definition: metric_type.h:29
void viterbi_algorithm_combined(int I, int S, int O, const std::vector< int > &NS, const std::vector< int > &OS, const std::vector< std::vector< int >> &PS, const std::vector< std::vector< int >> &PI, int K, int S0, int SK, int D, const std::vector< Ti > &TABLE, digital::trellis_metric_type_t TYPE, const Ti *in, To *out)
float min_star(float a, float b)
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition: basic_block.h:43
void siso_algorithm(int I, int S, int O, const std::vector< int > &NS, const std::vector< int > &OS, const std::vector< std::vector< int >> &PS, const std::vector< std::vector< int >> &PI, int K, int S0, int SK, bool POSTI, bool POSTO, float(*p2mymin)(float, float), const float *priori, const float *prioro, float *post)
void viterbi_algorithm(int I, int S, int O, const std::vector< int > &NS, const std::vector< int > &OS, const std::vector< std::vector< int >> &PS, const std::vector< std::vector< int >> &PI, int K, int S0, int SK, const float *in, T *out)
void siso_algorithm_combined(int I, int S, int O, const std::vector< int > &NS, const std::vector< int > &OS, const std::vector< std::vector< int >> &PS, const std::vector< std::vector< int >> &PI, int K, int S0, int SK, bool POSTI, bool POSTO, float(*p2mymin)(float, float), int D, const std::vector< T > &TABLE, digital::trellis_metric_type_t TYPE, const float *priori, const T *observations, float *post)
#define S(x)
Definition: rpcserver_thrift.h:37