HOG2
|
#include "RangeCompression.h"
#include <cassert>
#include <cstdint>
#include <iostream>
#include <limits>
#include <memory>
#include <vector>
Go to the source code of this file.
Classes | |
class | HeuristicTableEntry |
class | HeuristicTable |
class | Solution |
Functions | |
static void | DumpSolution (const Solution &solution, const vector< uint64_t > &histogram) |
static vector< int > | Optimize (const vector< uint64_t > &histogram, int numValues, bool dumpResult=false) |
void | GetOptimizedBoundaries (const vector< uint64_t > &distribution, int numValues, vector< int > &result) |
void | DumpOptimizedBoundaries (const vector< uint64_t > &distribution, int numValues) |
void DumpOptimizedBoundaries | ( | const vector< uint64_t > & | distribution, |
int | numValues | ||
) |
Definition at line 220 of file RangeCompression.cpp.
References Optimize().
|
static |
Definition at line 153 of file RangeCompression.cpp.
References Solution::GetAverageH(), Solution::GetCost(), and Solution::GetHValues().
Referenced by Optimize().
void GetOptimizedBoundaries | ( | const vector< uint64_t > & | distribution, |
int | numValues, | ||
vector< int > & | result | ||
) |
Definition at line 214 of file RangeCompression.cpp.
References Optimize().
Referenced by PDBHeuristic< TOHState< patternDisks >, TOHMove, TOH< patternDisks >, TOHState< totalDisks > >::CustomValueRangeCompress(), and PDBHeuristic< TOHState< patternDisks >, TOHMove, TOH< patternDisks >, TOHState< totalDisks > >::ValueRangeCompress().
|
static |
Definition at line 168 of file RangeCompression.cpp.
References DumpSolution(), Solution::GetCost(), and HeuristicTable::GetSize().
Referenced by DumpOptimizedBoundaries(), and GetOptimizedBoundaries().