gr::trellis::interleaver
gnuradio/trellis/interleaver.h
std::vector< int > std::vector<int> gr::trellis::interleaver::d_interleaver_indices d_interleaver_indices gr::trellis::interleaver::d_interleaver_indices
std::vector< int > std::vector<int> gr::trellis::interleaver::d_deinterleaver_indices d_deinterleaver_indices gr::trellis::interleaver::d_deinterleaver_indices
gr::trellis::interleaver::interleaver
()
interleaver
gr::trellis::interleaver::interleaver

construct empty interleaver

interleaver
interleaver
interleaver
gr::trellis::interleaver::interleaver
(const interleaver &interleaver)
interleaver
gr::trellis::interleaver::interleaver
const interleaver & interleaver

copy constructor

interleaver
gr::trellis::interleaver::interleaver
(unsigned int k, const std::vector< int > &interleaver)
interleaver
gr::trellis::interleaver::interleaver
unsigned int k
const std::vector< int > & interleaver

construct interleaver with redundant vector length parameter

k

vector length

interleaver

index vector

interleaver
k
gr::trellis::interleaver::interleaver
(const std::vector< int > &interleaver)
interleaver
gr::trellis::interleaver::interleaver
const std::vector< int > & interleaver

construct interleaver from index vector

interleaver

index vector

interleaver
gr::trellis::interleaver::interleaver
(const char *name)
interleaver
gr::trellis::interleaver::interleaver
const char * name

construct interleaver from file

File format is ASCII, `{number of interleaver taps} {empty line} {K space-separated list: permutation of 0 1 2 … K-1} {optional comments}`

name

file containing interleaver specification

gr::trellis::interleaver::interleaver
(unsigned int k, int seed)
interleaver
gr::trellis::interleaver::interleaver
unsigned int k
int seed

construct random interleaver

k

length

seed

seed for PRNG

k
unsigned int unsigned int gr::trellis::interleaver::k () const k gr::trellis::interleaver::k

return length of interleaver

interleaver
interleaver
const std::vector< int > & const std::vector< int > & gr::trellis::interleaver::interleaver_indices () const interleaver_indices gr::trellis::interleaver::interleaver_indices

return interleaver index vector reference

const std::vector< int > & const std::vector< int > & gr::trellis::interleaver::deinterleaver_indices () const deinterleaver_indices gr::trellis::interleaver::deinterleaver_indices

return deinterleaver index vector reference

unsigned int unsigned int gr::trellis::interleaver::K () const K gr::trellis::interleaver::K

return length of interleaver

const std::vector< int > & const std::vector< int > & gr::trellis::interleaver::INTER () const INTER gr::trellis::interleaver::INTER

return interleaver index vector reference

const std::vector< int > & const std::vector< int > & gr::trellis::interleaver::DEINTER () const DEINTER gr::trellis::interleaver::DEINTER

return deinterleaver index vector reference

void void gr::trellis::interleaver::write_interleaver_txt (std::string filename) write_interleaver_txt gr::trellis::interleaver::write_interleaver_txt std::string filename

write interleaver index vector to text file

gr::trellis::interleaver::interleaver(const char* name)

INTERLEAVER class.

- gr::trellis::interleaver
  d_deinterleaver_indices
- gr::trellis::interleaver
  d_interleaver_indices
- gr::trellis::interleaver
  DEINTER
- gr::trellis::interleaver
  deinterleaver_indices
- gr::trellis::interleaver
  INTER
- gr::trellis::interleaver
  interleaver
- gr::trellis::interleaver
  interleaver
- gr::trellis::interleaver
  interleaver
- gr::trellis::interleaver
  interleaver
- gr::trellis::interleaver
  interleaver
- gr::trellis::interleaver
  interleaver
- gr::trellis::interleaver
  interleaver_indices
- gr::trellis::interleaver
  K
- gr::trellis::interleaver
  k
- gr::trellis::interleaver
  write_interleaver_txt