ADS
Algorithms and Data Structures
Loading...
Searching...
No Matches
ADS::PForDeltaBlock Struct Reference

a block of values coded by PForDelta More...

#include <ADS/compression/IntegerCodes.h>

Public member functions

std::size_t size (void) const
 the number of values
std::size_t codeBits (void) const
 the bits of the code, \( n b \) and 64 for each exception

Public attributes

int b = 1
 the bits of a slot
std::uint64_t base = 0
 subtracted from the values in range
BitVector slots
 the \( n \) slots of \( b \) bits
std::vector< std::uint64_t > exceptions
 the values out of range

Detailed description

a block of values coded by PForDelta

Member function documentation

◆ codeBits()

std::size_t ADS::PForDeltaBlock::codeBits ( void ) const
nodiscard

the bits of the code, \( n b \) and 64 for each exception

◆ size()

std::size_t ADS::PForDeltaBlock::size ( void ) const
nodiscard

the number of values

Member data documentation

◆ b

int ADS::PForDeltaBlock::b = 1

the bits of a slot

◆ base

std::uint64_t ADS::PForDeltaBlock::base = 0

subtracted from the values in range

◆ exceptions

std::vector< std::uint64_t > ADS::PForDeltaBlock::exceptions

the values out of range

◆ slots

BitVector ADS::PForDeltaBlock::slots

the \( n \) slots of \( b \) bits


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