tudocomp
– The TU Dortmund Compression Framework
tdc::lz78::Randomizer Class Reference

#include <Randomizer.hpp>

Public Member Functions

 Randomizer (uint64_t universeSize)
 
 ~Randomizer ()
 
uint64_t hash (uint64_t key) const
 
uint64_t invertHash (uint64_t hash) const
 

Public Attributes

const uint64_t _prime
 

Detailed Description

Definition at line 8 of file Randomizer.hpp.

Constructor & Destructor Documentation

◆ Randomizer()

tdc::lz78::Randomizer::Randomizer ( uint64_t  universeSize)

Definition at line 39 of file Randomizer.hpp.

◆ ~Randomizer()

tdc::lz78::Randomizer::~Randomizer ( )

Definition at line 46 of file Randomizer.hpp.

Member Function Documentation

◆ hash()

uint64_t tdc::lz78::Randomizer::hash ( uint64_t  key) const
inline

Definition at line 14 of file Randomizer.hpp.

◆ invertHash()

uint64_t tdc::lz78::Randomizer::invertHash ( uint64_t  hash) const
inline

Definition at line 18 of file Randomizer.hpp.

Member Data Documentation

◆ _prime

const uint64_t tdc::lz78::Randomizer::_prime

Definition at line 22 of file Randomizer.hpp.


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