This class does the basic permutation calculation with a regular N^2 permutation computation.
More...
|
| PermutationPDB (environment *e, const state &s, const std::vector< int > &distincts) |
|
virtual uint64_t | GetPDBSize () const |
|
virtual uint64_t | GetPDBHash (const state &s, int threadID=0) const =0 |
|
virtual void | GetStateFromPDBHash (uint64_t hash, state &s, int threadID=0) const =0 |
|
virtual uint64_t | GetAbstractHash (const state &s, int threadID=0) const =0 |
|
virtual state | GetStateFromAbstractState (state &s) const =0 |
|
bool | Load (FILE *f) |
|
void | Save (FILE *f) |
|
bool | Load (const char *prefix) |
|
void | Save (const char *prefix) |
|
virtual std::string | GetFileName (const char *prefix) |
|
| PDBHeuristic (environment *e) |
|
virtual | ~PDBHeuristic () |
|
void | SetGoal (const state &goal) |
|
void | SetGoal (const std::vector< state > &goals) |
|
virtual double | HCost (const state &a, const state &b) const |
|
virtual uint64_t | GetPDBSize () const=0 |
|
void | ShuffleValues () |
| This methods randomizes the entries in the PDB. More...
|
|
void | BuildPDB (const state &goal) |
|
void | BuildPDB (const state &goal, int numThreads) |
|
void | BuildPDBForward (const state &goal, int numThreads, bool useCoarseOpen=true, bool verbose=false) |
|
void | BuildPDBForward (const std::vector< state > &goal, int numThreads, bool useCoarseOpen=true, bool verbose=false) |
|
void | BuildPDBBackward (const state &goal, int numThreads) |
|
void | BuildPDBForwardBackward (const state &goal, int numThreads) |
|
void | BuildAdditivePDB (const state &goal, int numThreads, bool useCourseOpen=true) |
|
void | DivCompress (int factor, bool print_histogram) |
|
void | ModCompress (int factor, bool print_histogram) |
|
void | ModCompress (uint64_t newEntries, bool print_histogram) |
|
void | ZeroLowValues (int limit) |
|
void | DeltaCompress (Heuristic< state > *h, state goal, bool print_histogram) |
|
void | FractionalDivCompress (uint64_t count, bool print_histogram) |
|
void | FractionalModCompress (uint64_t factor, bool print_histogram) |
|
void | ValueCompress (int maxValue, bool print_histogram) |
|
void | ValueCompress (std::vector< int > cutoffs, bool print_histogram) |
|
void | ValueRangeCompress (int numBits, bool print_histogram) |
|
void | ValueRangeCompress (PDBHeuristic< state, action, environment, state, 5 > *, bool print_histogram) |
|
void | ValueRangeCompress (PDBHeuristic< state, action, environment, state, 4 > *, bool print_histogram) |
|
void | ValueRangeCompress (PDBHeuristic< state, action, environment, state, 3 > *, bool print_histogram) |
|
void | ValueRangeCompress (PDBHeuristic< state, action, environment, state, 2 > *, bool print_histogram) |
|
void | ValueRangeCompress (PDBHeuristic< state, action, environment, state, 1 > *, bool print_histogram) |
|
void | CustomValueRangeCompress (std::vector< uint64_t > dist, int numBits, bool print_histogram) |
|
double | PrintHistogram () |
|
double | GetAverageValue () |
|
void | GetHistogram (std::vector< uint64_t > &histogram) |
|
| Heuristic () |
|
virtual | ~Heuristic () |
|
template<class state, class action, class environment, int bits = 8>
class PermutationPDB< state, action, environment, bits >
This class does the basic permutation calculation with a regular N^2 permutation computation.
Definition at line 19 of file PermutationPDB.h.