Skip to content

HDDL 1.1 support for the IPC 2027 HTN track

Latest

Choose a tag to compare

@koala-planner koala-planner released this 17 Nov 00:56

This release adds the features required for the HTN track of the International Planning Competition (IPC 2027). It implements the domain and problem language of HDDL 1.1, the extension to HDDL 1.0 defined for the competition. The HDDL 1.1 language specification will be released separately.

Scope: this release supports parsing and analysis of domain and problem files only. The proposed plan file format (:decomposition / :htn blocks of a (define (plan ...))) is not supported yet.

What's new

Action costs (:action-costs)

  • :functions block in domains, with typed parameter lists.
  • (increase (total-cost) <amount>) numeric effects, where the amount is a non-negative constant or a static function term. Multiple increase effects per action are allowed, including as the consequent of a conditional (when) effect.
  • Function initialisation in the problem :init block with (= <ground function term> <number>).
  • (:metric minimize (total-cost)) in problem files.
  • Enforcement of the IPC 2008 action-cost restrictions: no function terms in any condition, total-cost is the only increase target and never an amount, no negative initial values, and only the permitted metric forms. Side conditions are checked as well: total-cost must be declared with no parameters, every problem of an :action-costs domain must initialise it to 0, and function terms must be well-typed against their declarations.

Makespan (:makespan)

  • (:metric minimize (makespan)) as an alternative objective to plan cost. makespan is not a function and may not be declared in :functions, initialised in :init, or used in effects.

Requirement flags

  • The full HDDL 1.1 requirement set is recognised, including the three HDDL-specific flags :hierarchy, :method-preconditions and :makespan, plus :action-costs.
  • :universal-effects is accepted as a deprecated synonym for :conditional-effects, so IPC 2020 domains still parse.
  • object is treated as the implicit root of every type hierarchy.

Not in this release

  • Plan files (decomposition tree and plan task network).
  • Plan validation, plan cost and makespan computation.

Assets

Pre-built binaries are attached for Linux x64, macOS arm64 and Windows x64.

  • CLI (hddl_analyzer_CLI-*): the command-line tool for parsing and analysing domain and problem files.
  • LSP (hddl_analyzer_LSP-*): the language server, consumed by the VS Code extension.

If your system is not listed, you can build the tools from source with a standard Rust toolchain.