Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Command line (ff)

The ff binary is a drop-in for Metric-FF's ff -o domain -f problem.

flagmeaning
-o, --domain <FILE>PDDL domain
-f, --problem <FILE>PDDL problem
--jsonemit a structured JSON Solution instead of classic text
--json-request <FILE>self-contained {domain, problem, options} JSON job (- = stdin)
--mode <auto|ff|partition|pddl3|temporal>planning strategy (default auto)
--search <auto|ehc|best-first|ehc-then-best-first>search strategy
--weight-g <W> / --weight-h <W>best-first path-length / heuristic weights
--max-evaluated <N>cap on nodes evaluated before giving up
--satisficePDDL3: stop at the first plan instead of optimizing the metric
--decomposesplit a too-big temporal goal into ordered contracts and stitch them
--validate <PLAN>replay a plan file under ferroplan's own apply semantics (exit 0/1)
--threads <N>worker threads (0 = auto)
--ipcIPC time-stamped plan format (text mode)

auto routes by problem features: classic FF for classical/numeric, the PDDL3 metric optimizer when the problem has preferences, and the decision-epoch temporal search when the domain has :durative-actions. partition selects the SGPlan-style partition-and-resolve mode. Run ff --help for the full list.

ff -o domain.pddl -f problem.pddl --json
ff -o temporal-domain.pddl -f problem.pddl --mode temporal --decompose
ff -o domain.pddl -f problem.pddl --validate plan.txt
echo '{"domain":"...","problem":"...","options":{"mode":"ff"}}' | ff --json-request -