11#ifndef INCLUDED_CORE_ALGORITHMS_H
12#define INCLUDED_CORE_ALGORITHMS_H
23float min(
float a,
float b);
30 const std::vector<int>& NS,
31 const std::vector<int>& OS,
32 const std::vector<std::vector<int>>& PS,
33 const std::vector<std::vector<int>>& PI,
40template <
class Ti,
class To>
44 const std::vector<int>& NS,
45 const std::vector<int>& OS,
46 const std::vector<std::vector<int>>& PS,
47 const std::vector<std::vector<int>>& PI,
52 const std::vector<Ti>& TABLE,
60 const std::vector<int>& NS,
61 const std::vector<int>& OS,
62 const std::vector<std::vector<int>>& PS,
63 const std::vector<std::vector<int>>& PI,
69 float (*p2mymin)(
float,
float),
78 const std::vector<int>& NS,
79 const std::vector<int>& OS,
80 const std::vector<std::vector<int>>& PS,
81 const std::vector<std::vector<int>>& PI,
87 float (*p2mymin)(
float,
float),
89 const std::vector<T>& TABLE,
92 const T* observations,
105 float (*p2mymin)(
float,
float),
106 const float* iprioro,
109template <
class Ti,
class To>
119 float (*p2mymin)(
float,
float),
121 const std::vector<Ti>& TABLE,
124 const Ti* observations,
137 float (*p2mymin)(
float,
float),
138 const float* cprioro,
141template <
class Ti,
class To>
151 float (*p2mymin)(
float,
float),
153 const std::vector<Ti>& TABLE,
156 const Ti* observations,
#define D(...)
Definition: basic_block_pydoc_template.h:10
Finite State Machine Specification class.
Definition: fsm.h:33
INTERLEAVER class.
Definition: interleaver.h:26
trellis_metric_type_t
Definition: metric_type.h:17
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 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)
float min_star(float a, float b)
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)
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)
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 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)
float min(float a, float b)
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)
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)
GNU Radio logging wrapper.
Definition: basic_block.h:29
#define S(x)
Definition: rpcserver_thrift.h:24