Repository navigation
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)
:functionsblock 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. Multipleincreaseeffects per action are allowed, including as the consequent of a conditional (when) effect.- Function initialisation in the problem
:initblock 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-costis 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-costmust be declared with no parameters, every problem of an:action-costsdomain must initialise it to0, and function terms must be well-typed against their declarations.
Makespan (:makespan)
(:metric minimize (makespan))as an alternative objective to plan cost.makespanis 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-preconditionsand:makespan, plus:action-costs. :universal-effectsis accepted as a deprecated synonym for:conditional-effects, so IPC 2020 domains still parse.objectis 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.