Expand description
Merge-and-shrink abstractions (Helmert, Haslum, Hoffmann & Nissim 2014; Sievers & Helmert 2021).
Start from one atomic transition system per variable, then repeatedly shrink two factors by a state equivalence and merge them into their synchronized product. Goal distances in the final factor are an admissible heuristic. With exact bisimulation and no size limit it is perfect, except on tasks with conditional effects or derived variables, which atomic factors over-approximate.
Each step lets the MergeStrategy pick two factors (LinearMerge,
Dfp, SccDfp), optionally reduces labels, shrinks both with the
ShrinkStrategy so that their product fits MergeAndShrink::max_states
(Bisimulation, GreedyBisimulation, NoShrink), builds the
product and prunes it.
Structs§
- Bisimulation
- Coarsest goal-respecting bisimulation, by signature refinement.
- Dfp
- Merges the pair of factors whose shared labels lead closest to the goal.
- Factor
- One factor of a factored transition system.
- Greedy
Bisimulation - Greedy bisimulation (Nissim, Hoffmann & Helmert 2011): like
Bisimulation, but signatures only contain transitions that start an optimal path to the goal (h(s) = c(l) + h(t)). - Linear
Merge - Merges variables in a fixed order:
((v0 ⊗ v1) ⊗ v2) ⊗ .... - Merge
AndShrink - Builder for a merge-and-shrink heuristic: a merge strategy, a shrink strategy, a size limit and whether to prune.
- Merge
AndShrink Heuristic - The heuristic: goal distances in the final factor, looked up through its merge tree.
- NoShrink
- Never shrinks, and ignores the size limit. Without pruning, the final factor is the full product and the heuristic is perfect on every state; with pruning, on every reachable state.
- SccDfp
- Merges the factors of each strongly connected component of the causal
graph into one with
Dfp, components in topological order (sources first), then merges the results withDfp.
Enums§
- Merge
Tree - Maps concrete states to abstract states of a factor (“cascading tables”).
Traits§
- Merge
Strategy - Chooses which two active factors to merge next. The product is appended
at the end of the factor list (index
factors.len()at the time of the call). - Shrink
Strategy - Computes a state equivalence for a factor:
Some((map, num_classes)), orNoneto leave it unchanged.