enum coding_vector_format

Scope: kodo_rlnc

In header: #include <coding_vector_format.hpp>

Brief Description

Enum to select a coding vector format for an encoder or decoder.

Values

Constant Value Description
coding_vector_format::full_vector   Send the full encoding vector, i.e. all coding coefficients with every encoded symbol. With this format, the amount of overhead depends on the number of symbols in a generation.
coding_vector_format::seed   Only send a 4-byte random seed instead of the full encoding vectors. The seed represents the current state of the random number generator, so the same coefficients can be generated on the decoder side. This format gives us a fixed amount of overhead per symbol, but it disables the recoding functionality.
coding_vector_format::sparse_seed   In addition to the 4-byte random seed, this format also includes the density of the coding vector as a 4-byte float. A density-based random generator is used to control the number of non-zero elements. This format also gives us a fixed amount of overhead per symbol, but it disables the recoding functionality.