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

Public Member Functions

 HeuristicTableEntry (int pos, int h, uint64_t numStates)
 
int GetPos () const
 
int GetH () const
 
uint64_t GetNumStates () const
 
uint64_t GetPenalty (const HeuristicTableEntry &compressedEntry) const
 

Private Attributes

int pos
 
int h
 
uint64_t numStates
 

Detailed Description

Definition at line 13 of file RangeCompression.cpp.

Constructor & Destructor Documentation

◆ HeuristicTableEntry()

HeuristicTableEntry::HeuristicTableEntry ( int  pos,
int  h,
uint64_t  numStates 
)
inline

Definition at line 19 of file RangeCompression.cpp.

Member Function Documentation

◆ GetH()

int HeuristicTableEntry::GetH ( ) const
inline

Definition at line 29 of file RangeCompression.cpp.

Referenced by Solution::GetFirstH().

◆ GetNumStates()

uint64_t HeuristicTableEntry::GetNumStates ( ) const
inline

Definition at line 33 of file RangeCompression.cpp.

◆ GetPenalty()

uint64_t HeuristicTableEntry::GetPenalty ( const HeuristicTableEntry compressedEntry) const
inline

Definition at line 37 of file RangeCompression.cpp.

References h.

◆ GetPos()

int HeuristicTableEntry::GetPos ( ) const
inline

Definition at line 25 of file RangeCompression.cpp.

Member Data Documentation

◆ h

int HeuristicTableEntry::h
private

Definition at line 15 of file RangeCompression.cpp.

Referenced by GetPenalty().

◆ numStates

uint64_t HeuristicTableEntry::numStates
private

Definition at line 16 of file RangeCompression.cpp.

◆ pos

int HeuristicTableEntry::pos
private

Definition at line 14 of file RangeCompression.cpp.


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