We've put together a website with the history of all planning systems of the PANDA family, links to all relevant software projects, and further background information including pointers explaining the techniques deployed by the respective systems.
- You find it on https://panda-planner-dev.github.io/
- or, as a forward, on http://panda.hierarchical-task.net
pandaPIengine is a versatile HTN planning engine. To use the engine, you first need to parse and ground the planning problem. The capabilities are provided by other components: the pandaPIparser and pandaPIgrounder
To compile pandaPIengine perform the following commands:
mkdir build
cd build
cmake ../src
make -j
By default pandaPIengine is build without support for ILP-based heuristics, the SAT planner, and the BDD planner.
For the latter two, you can pass the arguments -DSAT=ON
or -DBDD=ON
. For the ILP-based heuristics, you need an installation of IBM CPLEX and need to specify it through -DCPLEX_SOURCE_DIR=PATH_TO_YOUR_CPLEX
.
If you have a grounded HTN planning problem as a *.sas file, you can simply run build/pandaPIengine FILE.sas
. pandaPIengine has a reasonable default configuration (Greedy best first search with the RC-FF heuristic and visited lists). If you want to customise pandaPIenigne, please run build/pandaPIengine -h
to see the available options.
As described above, you'll need to run the pandaPIengine based on an SAS file produced by the grounder, which is in term based on a file produced by a parser. We've created a simple script (problemSolver.sh) that calls the entire chain of (the involved three) executables, and all the output produced is piped into appropriately named files.
Note that this script does not use any of the many parameters for each of the executables. It is merely intended as a starting point for your experiments. Also note that some default messages (by the grounder) are printed to std.err, which is therefore also piped into a file. So if an actual error occurs now, you won't see (so you might want to change the script/piping behavior). In fact, using that script you won't see any output on the terminal (except for errors by the parser or the engine, since those std.errs are not piped away.) After all, it's just a convenient starting point.
The script has three parameters:
- the domain file
- the problem file
- a new filename that will be used as prefix for all the produced files.