You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ julia --color=yes -e 'using Pkg; Pkg.add(Pkg.PackageSpec(path="https://github.com/JuliaPy/PyCall.jl"))'
42
42
```
43
43
44
-
-Install Python dependencies
44
+
-Package installation
45
45
46
46
```bash
47
47
$ python3 -m pip install --upgrade pip
48
48
$ python3 -m pip install jupyddl
49
49
```
50
50
51
-
# REFL Mode
51
+
# Usage
52
52
53
-
- Run `python3` in the terminal.
53
+
If using the jupyddl pip package:
54
+
55
+
- If you want to use the data analysis tool, create a pddl-examples folder with pddl instances subfolders containing "problem.pddl" and "domain.pddl". (refer to APLA-Toolbox/pddl-examples)
Make sure you have a data folder where you run your environment that contains independent folders with"domain.pddl"and"problem.pddl" files, with those standard names.
97
+
Make sure you have a pddl-examples folder where you run your environment that contains independent folders with"domain.pddl"and"problem.pddl" files, with those standard names. ( if you didn't generate with git submodule update )
85
98
86
99
```python
87
100
from jupyddl import DataAnalyst
88
101
89
102
da = DataAnalyst()
90
-
da.plot_astar_data() # plots complexity statistics for all the problem.pddl/domain.pddl couples in the data/ folder
103
+
da.plot_astar_data() # plots complexity statistics for all the problem.pddl/domain.pddl couples in the pddl-examples/ folder
91
104
92
-
da.plot_astar_data(problem="data/flip/problem.pddl", domain="data/flip/domain.pddl") # scatter complexity statistics for the provided pddl
105
+
da.plot_astar_data(problem="pddl-examples/flip/problem.pddl", domain="pddl-examples/flip/domain.pddl") # scatter complexity statistics for the provided pddl
93
106
94
107
da.plot_astar_data(heuristic_key="zero") # use h=0 instead of goal_count for your computation
95
108
96
109
da.plot_dfs() # same as astar
97
110
98
-
da.comparative_data_plot() # Run all planners on the data folder and plots them on the same figure, data is stored in a data.json file
111
+
da.comparative_data_plot() # Run all planners on the pddl-examples folder and plots them on the same figure, data is stored in a data.json file
99
112
100
113
da.comparative_data_plot(astar=False) # Exclude astar from the comparative plot
0 commit comments