Skip to content

Commit ad8d2fe

Browse files
authored
Update README.md
1 parent 5dd7b36 commit ad8d2fe

1 file changed

Lines changed: 19 additions & 19 deletions

File tree

README.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,25 @@ $ python3 -m pip install --upgrade pip
4949
$ python3 -m pip install jupyddl
5050
```
5151

52-
# Usage
52+
## IPC Script
53+
54+
- Clone the project :
55+
```shell
56+
$ git clone https://github.com/APLA-Toolbox/PythonPDDL
57+
$ cd PythonPDDL
58+
$ python3 -m pip install -r requirements.txt
59+
$ git submodule update --init // Only if you need PDDL files for testing
60+
```
61+
62+
- Run the script :
63+
```shell
64+
$ cd scripts/
65+
$ python ipc.py "path_to_domain.pddl" "path_to_problem.pddl" "path_to_desired_output_file"
66+
```
67+
68+
The output file will show the path with a list of state, the path with a list of action and the metrics proposed by IPC2018.
69+
70+
# Library Usage
5371
5472
If using the jupyddl pip package:
5573
@@ -123,24 +141,6 @@ da.comparative_data_plot(collect_new_data=False) # uses data.json to plot the da
123141
da.comparative_astar_heuristic_plot() # compare results of astar with all available heuristics
124142
```
125143
126-
## IPC Script
127-
128-
- Clone the project :
129-
```shell
130-
$ git clone https://github.com/APLA-Toolbox/PythonPDDL
131-
$ cd PythonPDDL
132-
$ python3 -m pip install -r requirements.txt
133-
$ git submodule update --init // Only if you need PDDL files for testing
134-
```
135-
136-
- Run the script :
137-
```shell
138-
$ cd scripts/
139-
$ python ipc.py "path_to_domain.pddl" "path_to_problem.pddl" "path_to_desired_output_file"
140-
```
141-
142-
The output file will show the path with a list of state, the path with a list of action and the metrics proposed by IPC2018.
143-
144144
# Contribute
145145
146146
Open an issue to state clearly the contribution you want to make. Upon aproval send in a PR with the Issue referenced. (Implement Issue #No / Fix Issue #No).

0 commit comments

Comments
 (0)