PDDL-based simulator for the BIU course "Introduction to Intelligent, Knowledge-Based and Cognitive Systems"
Project description
PDDLSIM is an execution simulator for PDDL domain-problem pairs, with a supporting library to define agents that interface with said simulator. This can happen locally, or via a remote, internet connection.
PDDLSIM is designed to allow the evaluation of sequential action-selection algorithms across a wide variety of tasks and environments, and was created for the Bar-Ilan University course "Introduction to Intelligent, Cognitive, and Knowledge-Based Systems" (89-674). In the course, it is used as a part of the final project.
The simulator is run with PDDL domain and problem files. An agent can then connect to the simulator and interact with it: requesting the domain-problem pair definition, and then attempting to solve the task by selecting actions and sending them to the simulator for execution. The simulator will report the number of actions taken, whether the goal of the task was achieved, the wall-clock time taken, etc. The PDDL description received by the agent may be partially redacted. For example, it might not receive information about action success probabilities, or some objects may remain hidden until the agent reaches a specific state, etc.
Documentation
The documentation is maintained in the PDDLSIM wiki. To start, see the tutorial. The documentation also includes usage guidelines, information about creating agents that interact with the simulator, and more.
Beyond the wiki, PDDLSIM also has an online API reference.
Installation
PDDLSIM is available on PyPI, requiring no external dependencies. PDDLSIM requires Python 3.12 or later. Earlier, legacy versions of PDDLSIM are also available on PyPI, but these have a vastly different API than current PDDLSIM, and are unsupported, as these use Python 2.7.
To install PDDLSIM using pip, run:
pip install pddlsim
Check out examples/ for some examples of using PDDLSIM, for creating agents that interface with simulators, running simulators that interface with agents, etc.
Contributing
For a step-by-step guide to contributing to PDDLSIM, see the Contributing page.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pddlsim-0.2.0.dev3.tar.gz.
File metadata
- Download URL: pddlsim-0.2.0.dev3.tar.gz
- Upload date:
- Size: 77.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.7.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7a2edfc1cbf685436912ef6b60f4e4eefd49340132fffa1047d7bded628056e3
|
|
| MD5 |
caa06f4f02c8a3972279f6445d06e164
|
|
| BLAKE2b-256 |
980b5e397dd18924e2f0ca518f96f38cc6276b74cc6b57406c2d9162d3aa2c01
|
File details
Details for the file pddlsim-0.2.0.dev3-py3-none-any.whl.
File metadata
- Download URL: pddlsim-0.2.0.dev3-py3-none-any.whl
- Upload date:
- Size: 49.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.7.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
735bb206bf8a2bd0cb718fc3f7694484fca7bde88cb3eab97b0f7b8b8434cf45
|
|
| MD5 |
871a8a0deda1f28e13ecbfe6123bf20b
|
|
| BLAKE2b-256 |
cd26930c7c39311102659793ea3c163642461b7fb899b88eb021b45d02053ece
|