Symbolic merge-and-shrink
Also known as symbolic M&S
abstraction symbolic-search
Symbolic merge-and-shrink builds an abstraction heuristic whose abstract states (classes) are BDDs over the bits of the variables merged so far. A linear strategy merges one variable at a time, goal variables first, and splits each class by the values of the new variable. When the classes need more BDD nodes than a limit, classes with equal goal distance merge first, then the classes with the smallest distances. The final goal distances are exact in the final abstraction, so the heuristic never overestimates; without a limit, it is the perfect heuristic h*. Use it with BDDA* or as a SymBA* perimeter.
Pseudocode
algorithm Symbolic merge-and-shrink(task, limit)input: planning task, node limit for the classesoutput: goal distances of the final abstraction, as sets H_horder ← goal variables, then the other variables, each by idCLASSES ← {all states} ▷ one class per abstract statefor each v in order doCLASSES ← {C ∩ (v = d) : C in CLASSES, d in domain(v), C ∩ (v = d) ≠ ∅}if nodes(CLASSES) > limit thendist ← class-distances(CLASSES, merged variables)merge the classes with equal dist ▷ dead classes only with each otherwhile nodes(CLASSES) > limit and |CLASSES| > 1 domerge the two classes with the smallest distdist ← class-distances(CLASSES, all variables)return {(h, ⋃ of the classes C with dist[C] = h)}function class-distances(CLASSES, V)▷ Dijkstra over classes in the projection onto V, backward from the goal▷ class C reaches D at cost c when some state in C has an operator of cost c into Dreturn the cheapest goal distance of every class, ∞ for dead classesIn the crates
symbolic-searchSymbolic merge-and-shrink with linear merging and h-preserving node-limited shrinking.
Lineage
Led to
Nothing on this site.
Papers
- Symbolic Merge-and-Shrink for Cost-Optimal Planning Álvaro Torralba, Carlos Linares López, Daniel Borrajo · 2013· Proceedings of the Twenty-Third International Joint Conference on Artificial Intelligence (IJCAI)