Skip to main content

WLPlan: Relational Features for PDDL Planning

Project description

WLPlan Logo


WLPlan

PyPI version License

Plan is a library for generating graph representations and feature embeddings of PDDL planning problems and states for machine learning tasks. WLPlan currently supports both classical and numeric planning problems.

The main pipeline in WLPlan consists of (1) converting planning problems and states into graphs, and (2) synthesising feature embeddings by running a variant of the Weisfeiler-Leman (WL) algorithm on the resulting graph.

WLPlan

Detailed documentation for WLPlan can be found in the official website available here.

Installation

Python Interface

The Python interface can be installed simply with

pip install wlplan

The PyPI release only supports python>=3.10. Alternatively, you can also install the package from the source code with the install.sh script.

C++ Interface

The C++ interface can be installed in your project by running

./cmake_build.py <path/to/installation>

and adding the following to the root CMakeLists.txt file of your project

list(APPEND CMAKE_PREFIX_PATH "<path/to/installation>")
find_package(wlplan)
...
target_link_libraries(<your_project> PRIVATE wlplan)

References

Academic Publications

Some academic publications which use WLPlan are listed as follows.

  • Daniel Höller. Learning Heuristic Functions for HTN Planning. In ICAPS 2025 Workshop on Bridging the Gap Between AI Planning and Reinforcement Learning (PRL), 2025.
  • Dillon Z. Chen. Symmetry-Invariant Novelty Heuristics via Unsupervised Weisfeiler-Leman Features. In ICAPS 2025 Workshop on Heuristics and Search for Domain-independent Planning (HSDIP), 2025.
  • Dillon Z. Chen. Weisfeiler-Leman Features for Planning: A 1,000,000 Sample Size Hyperparameter Study. In 28th European Conference on Artificial Intelligence (ECAI), 2025.
  • Mingyu Hao, Dillon Z. Chen, Felipe Trevizan, and Sylvie Thiébaux. Effective Data Generation and Feature Selection in Learning for Planning. In 28th European Conference on Artificial Intelligence (ECAI), 2025.
  • Rebecca Eifler, Nika Beriachvili, Arthur Bit-Monnot, Dillon Z. Chen, Jan Eisenhut, Jörg Hoffmann, Sylvie Thiébaux, and Florent Teichteil-Königsbuch. An Operator-Centric Trustable Decision-Making Tool for Planning Ground Logistic Operations of Beluga Aircraft. In 28th European Conference on Artificial Intelligence (ECAI), 2025.
  • Dillon Z. Chen and Sylvie Thiébaux. Graph Learning for Numeric Planning. In 38th Conference on Neural Information Processing Systems (NeurIPS), 2024.
  • Dillon Z. Chen, Felipe Trevizan, and Sylvie Thiébaux. Return to Tradition: Learning Reliable Heuristics with Classical Machine Learning. In 34th International Conference on Automated Planning and Scheduling (ICAPS), 2024.

Bibtex

The academic reference for WLPlan is given by the bibtex entry

@article{chen-wlplan-2024,
  author       = {Dillon Z. Chen},
  title        = {WLPlan: Relational Features for Symbolic Planning},
  journal      = {CoRR},
  volume       = {abs/2411.00577},
  year         = {2024},
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

wlplan-2.1.0-cp312-cp312-manylinux_2_34_x86_64.whl (631.2 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.34+ x86-64

wlplan-2.1.0-cp311-cp311-manylinux_2_34_x86_64.whl (630.5 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.34+ x86-64

wlplan-2.1.0-cp310-cp310-manylinux_2_34_x86_64.whl (628.0 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.34+ x86-64

File details

Details for the file wlplan-2.1.0-cp312-cp312-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for wlplan-2.1.0-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 c21e46a5f0f4dc71bca73206811eee1261b0e4e3756c433b266384ce753971f0
MD5 e75f14fc2fab65763de721597f553268
BLAKE2b-256 ed233e571ad768309e6ee5453f08859594d4691025ce9fa5c03781ffcbf2de90

See more details on using hashes here.

File details

Details for the file wlplan-2.1.0-cp311-cp311-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for wlplan-2.1.0-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 50e2376cadc3646c682e92e3a768ce57bbd428c3172702751d82a0934f23c42d
MD5 bbb95fa13fe70619210ca05f6c7b78f3
BLAKE2b-256 b38d5e8e6c796e46d60878f14c8ab0d1ccd7082ab89230b3a6deec2c62430517

See more details on using hashes here.

File details

Details for the file wlplan-2.1.0-cp310-cp310-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for wlplan-2.1.0-cp310-cp310-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 ab2f1b6d863be561c4280ddd2e19f8e39b99df1a3df8e460196f7007641fa424
MD5 91cc785930f0e9147771bdc2462ee0cf
BLAKE2b-256 a3feb6d585e6244c4efed935352bb16719b661523b5d623bda7595f983961e64

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page