tudocomp
– The TU Dortmund Compression Framework
tdc::Literal Struct Reference

Contains a literal and its location in the input. More...

#include <Literal.hpp>

Public Attributes

uliteral_t c
 The literal. More...
 
len_t pos
 The position of the literal in the input. More...
 

Detailed Description

Contains a literal and its location in the input.

This structure is used by encoders to get a glimpse at the literals it will receive. The encoder is given a stream of literals and their occurences in the compressed text. This information can be used to initialize data structures that can be used for efficient encoding, e.g. a Huffman tree or a k-mer dictionary.

Definition at line 16 of file Literal.hpp.

Member Data Documentation

◆ c

uliteral_t tdc::Literal::c

The literal.

Definition at line 18 of file Literal.hpp.

◆ pos

len_t tdc::Literal::pos

The position of the literal in the input.

Definition at line 21 of file Literal.hpp.


The documentation for this struct was generated from the following file: