Skip to main content

Fast Downward Translator

This package contains the translator of the Fast Downward planning system. It parses planning tasks specified in the Planning Domain Definition Language (PDDL), performs several transformations and generates the output.sas format that serves as the input for the search component of the planning system.

Usage

python -m fast_downward.translate [-h] [--relaxed] [--full-encoding]
                                  [--invariant-generation-max-candidates INVARIANT_GENERATION_MAX_CANDIDATES]
                                  [--sas-file SAS_FILE]
                                  [--invariant-generation-max-time INVARIANT_GENERATION_MAX_TIME]
                                  [--add-implied-preconditions]
                                  [--keep-unreachable-facts]
                                  [--skip-variable-reordering]
                                  [--keep-unimportant-variables]
                                  [--keep-no-ops] [--dump-task]
                                  [--layer-strategy {min,max}]
                                  [--condition-normalization-strategy {dnf,axiomatize_disjunctions,axiomatize_disjunctions_existentials}]
                                  DOMAIN PROBLEM
positional arguments:
  DOMAIN                path to domain PDDL file
  PROBLEM               path to problem PDDL file

options:
  -h, --help            show this help message and exit
  --relaxed             output relaxed task (no delete effects)
  --full-encoding       By default we represent facts that occur in multiple
                        mutex groups only in one variable. Using this parameter
                        adds these facts to multiple variables. This can make
                        the meaning of the variables clearer, but increases the
                        number of facts.
  --invariant-generation-max-candidates INVARIANT_GENERATION_MAX_CANDIDATES
                        max number of candidates for invariant generation
                        (default: 100000). Set to 0 to disable invariant
                        generation and obtain only binary variables. The limit
                        is needed for grounded input files that would otherwise
                        produce too many candidates.
  --sas-file SAS_FILE   path to the SAS output file (default: output.sas)
  --invariant-generation-max-time INVARIANT_GENERATION_MAX_TIME
                        max time for invariant generation (default: 300s)
  --add-implied-preconditions
                        infer additional preconditions. This setting can cause a
                        severe performance penalty due to weaker relevance
                        analysis (see issue7).
  --keep-unreachable-facts
                        keep facts that can't be reached from the initial state
  --skip-variable-reordering
                        do not reorder variables based on the causal graph. Do
                        not use this option with the causal graph heuristic!
  --keep-unimportant-variables
                        keep variables that do not influence the goal in the
                        causal graph
  --keep-no-ops         keep operators without effects in the output
  --dump-task           dump human-readable SAS+ representation of the task
  --layer-strategy {min,max}
                        How to assign layers to derived variables. 'min'
                        attempts to put as many variables into the same layer as
                        possible, while 'max' puts each variable into its own
                        layer unless it is part of a cycle.
  --condition-normalization-strategy {dnf,axiomatize_disjunctions,axiomatize_disjunctions_existentials}
                        Strategy for normalizing PDDL conditions. Strategy 'dnf'
                        converts conditions to disjunctive normal form, which
                        may cause exponential blow-up for complex formulas but
                        introduces few derived predicates. Strategy
                        'axiomatize_disjunctions' replaces every disjunction by
                        a derived predicate, avoiding the DNF blow-up while
                        preserving existential quantifiers. Strategy
                        'axiomatize_disjunctions_existentials' additionally
                        replaces existential quantifiers in action conditions
                        and goals with derived predicates. This typically
                        introduces more derived predicates but avoids creating
                        multiple operator instances.

Built from Fast Downward branch main, commit fe530491f93a.

Release files for fast-downward.translate 26.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fast-downward.translate 26.6.0
File Size Uploaded
fast_downward_translate-26.6.0.tar.gz 86.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fast-downward.translate 26.6.0
File Interpreter ABI Platform
fast_downward_translate-26.6.0-py3-none-any.whl Python 3 none any Details

Total release size: 186.9 kB

Release files / fast_downward_translate-26.6.0.tar.gz

Download URL fast_downward_translate-26.6.0.tar.gz
Size 86.9 kB
Tags Source
SHA-256 checksum
How to use checksums
197cdd154189867c278bb6cadcd6c78db677f3a5e5303a7584bd86c5a160deae
BLAKE2b-256 checksum
How to use checksums
1290ed44c0beca93cc1cebe2800bf732e273c9f4ca5c25992739b8b61b7389c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / fast_downward_translate-26.6.0-py3-none-any.whl

Download URL fast_downward_translate-26.6.0-py3-none-any.whl
Size 100.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8c29536b0ffdbf253ef70d0419c2a94b01f30062929b6452461fcc4ecba51832
BLAKE2b-256 checksum
How to use checksums
fe687cdeb618823a0b074cce2466bc52b09dd136927495022459160b03f49a74
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

26.6.0 This release

2 release files

24.6

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page