11#ifndef INCLUDED_TRELLIS_PERMUTATION_H
12#define INCLUDED_TRELLIS_PERMUTATION_H
29 typedef std::shared_ptr<permutation>
sptr;
32 make(
int K,
const std::vector<int>& TABLE,
int SYMS_PER_BLOCK,
size_t NBYTES);
34 virtual int K()
const = 0;
35 virtual std::vector<int>
TABLE()
const = 0;
40 virtual void set_TABLE(
const std::vector<int>& table) = 0;
synchronous 1:1 input to output with history
Definition: sync_block.h:26
Permutation.
Definition: permutation.h:26
virtual void set_SYMS_PER_BLOCK(int spb)=0
virtual std::vector< int > TABLE() const =0
std::shared_ptr< permutation > sptr
Definition: permutation.h:29
virtual void set_K(int K)=0
virtual void set_TABLE(const std::vector< int > &table)=0
virtual size_t BYTES_PER_SYMBOL() const =0
virtual int SYMS_PER_BLOCK() const =0
static sptr make(int K, const std::vector< int > &TABLE, int SYMS_PER_BLOCK, size_t NBYTES)
#define TRELLIS_API
Definition: gr-trellis/include/gnuradio/trellis/api.h:18
GNU Radio logging wrapper.
Definition: basic_block.h:29