Skip to main content

WLPlan: Relational Features for PDDL Planning

Project description

WLPlan

License

WLPlan is a package for generating embeddings of PDDL planning problems for machine learning tasks. It supports both classical and numeric planning problems.

WLPlan

Installation

Python Interface

The Python interface can be installed simply with

sh install.sh

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)

Graph Representations

The graph representations of planning tasks implemented thus far are

Name WLPlan shorthand Reference
Instance Learning Graph (ILG) ilg D. Chen, F. Trevizan, S. Thiébaux: Return to Tradition: Learning Reliable Heuristics with Classical Machine Learning. ICAPS 2024
Numeric Instance Learning Graph (νILG) nilg D. Chen, S. Thiébaux: Graph Learning for Numeric Planning. NeurIPS 2024

Feature Generators

The feature generators implemented thus far are

Name WLPlan shorthand Reference
Weisfeiler Leman (WL)/colour refinement wl D. Chen, F. Trevizan, S. Thiébaux: Return to Tradition: Learning Reliable Heuristics with Classical Machine Learning. ICAPS 2024
2-WL kwl2 J. Cai, M. Fürer, N. Immerman: An optimal lower bound on the number of variables for graph identification. Combinatorica (1992)
Local 2-WL (2-LWL) lwl2 C. Morris, K. Kersting, P. Mutzel: Glocalized Weisfeiler-Lehman Graph Kernels: Global-Local Feature Maps of Graphs. ICDM 2017
continuous-categorical WL (ccWL) ccwl D. Chen, S. Thiébaux: Graph Learning for Numeric Planning. NeurIPS 2024
individualised WL (iWL) iwl coming soon
normalised iWL (niWL) niwl coming soon

Usage

Examples for how to use the package include this self-contained notebook and test, as well as the GOOSE framework.

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

wlplan-1.0.1-cp312-cp312-manylinux_2_34_x86_64.whl (450.7 kB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.34+ x86-64

wlplan-1.0.1-cp311-cp311-manylinux_2_34_x86_64.whl (450.8 kB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.34+ x86-64

wlplan-1.0.1-cp310-cp310-manylinux_2_34_x86_64.whl (449.6 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.34+ x86-64

Supported by

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