Planning & Search in Rust
Esc

Loading…

↑↓ move ↵ open Esc close
Colour theme
All algorithms

SCC-DFP

Also known as SCC-DFP merge strategy

abstraction merge-and-shrink

SCC-DFP is a merge strategy for merge-and-shrink. The causal graph of a task has an edge from variable u to v when an operator that changes v has u in its precondition or in an effect condition, or also changes u. A strongly connected component (SCC) is a largest set of variables that all reach each other in this graph. SCC-DFP first merges the variables of each SCC into one factor with DFP, components in topological order, and then merges these factors with DFP. Use it to keep tightly coupled variables together; it is the configuration the crate compares with Fast Downward.

Pseudocode

algorithm SccDfp(Π)input: planning task Πoutput: the next pair of factors to merge, at each call of next-pairSCCS ← strongly-connected-components(causal-graph(Π))   ▷ topological order, sources firstREMAINING ← the components in SCCS with more than one variablefunction next-pair(F, c)while REMAINING ≠ ∅ doC ← first(REMAINING)X ← the active factors in F whose variables lie in Cif |X| > 1 thenreturn Dfp(X, c)                              ▷ merge within the componentremove(REMAINING, C)                            ▷ C is one factor nowreturn Dfp(F, c)                                  ▷ then merge the components

In the crates

  • merge-and-shrink

    Merges the variables of each strongly connected component of the causal graph first, then continues with DFP.

    SccDfp

Lineage

Comes from

builds on DFP

Led to

Nothing on this site.

Papers

  1. An Analysis of Merge Strategies for Merge-and-Shrink Heuristics Silvan Sievers, Martin Wehrle, Malte Helmert · 2016· Proceedings of the International Conference on Automated Planning and Scheduling (ICAPS 2016) introduces doi 10.1609/icaps.v26i1.13763