HOG2
Public Member Functions | Private Attributes | List of all members
HeuristicTable Class Reference

Public Member Functions

 HeuristicTable (const vector< uint64_t > &histogram)
 
const HeuristicTableEntryoperator[] (int pos) const
 
int GetSize () const
 
uint64_t ComputeCostBetween (size_t startPos, size_t endPos) const
 

Private Attributes

vector< HeuristicTableEntryentries
 

Detailed Description

Definition at line 43 of file RangeCompression.cpp.

Constructor & Destructor Documentation

◆ HeuristicTable()

HeuristicTable::HeuristicTable ( const vector< uint64_t > &  histogram)
inlineexplicit

Definition at line 58 of file RangeCompression.cpp.

Member Function Documentation

◆ ComputeCostBetween()

uint64_t HeuristicTable::ComputeCostBetween ( size_t  startPos,
size_t  endPos 
) const
inline

Definition at line 77 of file RangeCompression.cpp.

◆ GetSize()

int HeuristicTable::GetSize ( ) const
inline

Definition at line 73 of file RangeCompression.cpp.

Referenced by Optimize().

◆ operator[]()

const HeuristicTableEntry& HeuristicTable::operator[] ( int  pos) const
inline

Definition at line 69 of file RangeCompression.cpp.

Member Data Documentation

◆ entries

vector<HeuristicTableEntry> HeuristicTable::entries
private

Definition at line 55 of file RangeCompression.cpp.


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