Planning & Search in Rust
Esc

Loading…

↑↓ move ↵ open Esc close
Colour theme
All algorithms

Canonical PDB heuristic

Also known as canonical heuristic, canonical pattern database collection

heuristic symbolic-search

The canonical heuristic combines a collection of pattern databases (PDBs) into one estimate that never overestimates (an admissible estimate). Two patterns are additive when no operator changes a variable of both; then the sum of their PDBs still never overestimates. The heuristic takes every maximal set of pairwise additive patterns, adds up their PDBs, and uses the largest of these sums. It never overestimates, and it is at least as good as the best single PDB. The number of maximal sets can grow exponentially, so the crate stops after a cap and then uses the maximum of the single PDBs.

Pseudocode

algorithm Canonical PDB heuristic(C, max-subsets)input: collection C of patterns, cap max-subsets on maximal additive subsetsoutput: an admissible heuristic as sets H_h, one per value hfor each P in C doh_P ← pdb(P)E ← {(P, Q) : no operator affects a variable of P and a variable of Q}A ← maximal-cliques((C, E))                  ▷ Bron–Kerbosch with pivotingif |A| > max-subsets thenreturn max over P in C of h_Ph ← blind heuristic with h = 0 everywherefor each clique K in A doh_K ← ∑ over P in K of h_P                 ▷ dead in one addend means deadh ← max(h, h_K)return h

In the crates

Lineage

Comes from

builds on Pattern database

builds on Symbolic pattern databases

Led to

Nothing on this site.

Papers

  1. Domain-Independent Construction of Pattern Database Heuristics for Cost-Optimal Planning Patrik Haslum, Adi Botea, Malte Helmert, Blai Bonet, Sven Koenig · 2007· Proceedings of the Twenty-Second AAAI Conference on Artificial Intelligence introduces