Both sides previous revision
Previous revision
Next revision
|
Previous revision
Next revision
Both sides next revision
|
en:dydaktyka:planning:pddl2 [2018/05/13 23:30] msl [2 Tools] |
en:dydaktyka:planning:pddl2 [2018/05/13 23:33] msl |
===== - Example: Hanoi ===== | ===== - Example: Hanoi ===== |
| |
The new solver supports some new statements. Please check the files: ''./examples/hanoi/problem.pddl'' i ''./examples/hanoi/instance.pddl''. The new things include: | The new solver supports some new statements. Please check the files: ''./lab2/hanoi/domain.pddl'' i ''./lab2/hanoi/problem.pddl''. The new things include: |
| |
* ''(:requirements :fluents)'' --- informs solver that we want to use fluents | * ''(:requirements :fluents)'' --- informs solver that we want to use fluents |
| |
<code bash> | <code bash> |
./ff -o ./examples/hanoi/problem.pddl -f ./examples/hanoi/instance.pddl -s 0 | ./ff -o ./examples/hanoi/domain.pddl -f ./examples/hanoi/problem.pddl -s 0 |
</code> | </code> |
| |
| |
\\ | \\ |
Please watch fragment of the Die Hard 3 movie above. The puzzle depicted there belongs to a quite popular family of "water pouring'" puzzles. The ''./examples/jugs'' folder contains a model of a [[http://www.riddleministry.com/riddles/water-puzzle-19-13-7/1246/|very similar problem]]. | Please watch fragment of the Die Hard 3 movie above. The puzzle depicted there belongs to a quite popular family of "water pouring'" puzzles. The ''./lab2/jugs'' folder contains a model of a [[http://www.riddleministry.com/riddles/water-puzzle-19-13-7/1246/|very similar problem]]. |
| |
==== Assignments ==== | ==== Assignments ==== |
| |
- Fill missing lines of the ''problem.pddl'', so you can solve ''instance.pddl'' in 16 steps. | - Fill missing lines of the ''domain.pddl'', so you can solve ''problem.pddl'' in 16 steps. |
- Remodel the problem so it would use only one action | - Remodel the problem so it would use only one action |
- Modify the problem to include the fountain and help Bruce Willis! | - Modify the problem to include the fountain and help Bruce Willis! |
| |
\\ | \\ |
Watch two first minutes of the movie above. ''./examples/zombie-escape'' folder contains file related to this puzzle. Then check the assignments and save yourself! | Watch two first minutes of the movie above. ''./lab2/zombie-escape'' folder contains file related to this puzzle. Then check the assignments and save yourself! |
| |
| |