tudocomp
– The TU Dortmund Compression Framework
|
Represents a range of positive integers that tend to be distributed towards the minimum. More...
#include <Range.hpp>
Public Member Functions | |
constexpr | MinDistributedRange (size_t max) |
Constructs a range from zero to a maximum value. More... | |
constexpr | MinDistributedRange (size_t min, size_t max) |
Constructs a range. More... | |
Public Member Functions inherited from tdc::Range | |
constexpr | Range (size_t max) |
Constructs a range from zero to a maximum value. More... | |
constexpr | Range (size_t min, size_t max) |
Constructs a range. More... | |
size_t | min () const |
Yields the range's minimum value. More... | |
size_t | max () const |
Yields the range's maximum value. More... | |
size_t | delta () const |
Yields the difference between the range's minimum and maximum values. More... | |
Represents a range of positive integers that tend to be distributed towards the minimum.
Correspondingly implemented coders can use this information to encode more efficiently, therefore it is advised to feed it ranges as precise as possible for every value to encode.
|
inline |
|
inline |