Compressed pattern databases

Ariel Felner, Richard E. Korf, Ram Meshulam, Robert Holte

Research output: Contribution to journalArticlepeer-review

53 Scopus citations


A pattern database (PDB) is a heuristic function implemented as a lookup table that stores the lengths of optimal solutions for subproblem instances. Standard PDBs have a distinct entry in the table for each subproblem instance. In this paper we investigate compressing PDBs by merging several entries into one, thereby allowing the use of PDBs that exceed available memory in their uncompressed form. We introduce a number of methods for determining which entries to merge and discuss their relative merits. These vary from domain-*independent approaches that allow any set of entries in the PDB to be merged, to more intelligent methods that take into account the structure of the problem. The choice of the best compression method is based on domain-dependent attributes. We present experimental results on a number of combinatorial problems, including the four-peg Towers of Hanoi problem, the sliding-tile puzzles, and the Top-Spin puzzle. For the Towers of Hanoi, we show that the search time can be reduced by up to three orders of magnitude by using compressed PDBs compared to uncompressed PDBs of the same size. More modest improvements were observed for the other domains.

Original languageEnglish
Pages (from-to)213-247
Number of pages35
JournalJournal of Artificial Intelligence Research
StatePublished - 2007
Externally publishedYes


Dive into the research topics of 'Compressed pattern databases'. Together they form a unique fingerprint.

Cite this