aibasel / pyperplan

A lightweight STRIPS planner written in Python.
GNU General Public License v3.0
93 stars 41 forks source link

Iterative Deepening Search only outputs "Goal reached" on loglevel debug #2

Closed jendrikseipp closed 8 years ago

jendrikseipp commented 8 years ago

Original report by Martin Goth (Bitbucket: mgoth, ).


Example call:

> python3 src/pyperplan.py -l info -H hff -s ids benchmark/blocks/task01.pddl
2016-01-29 16:59:40,292 INFO     Found domain /home/gothm/thesis/aclib_repo/target_algorithms/planning/pyperplan/pyperplan-files/benchmarks/blocks/domain.pddl
2016-01-29 16:59:40,292 INFO     using search: iterative_deepening_search
2016-01-29 16:59:40,292 INFO     using heuristic: None
2016-01-29 16:59:40,292 INFO     Parsing Domain /home/gothm/thesis/aclib_repo/target_algorithms/planning/pyperplan/pyperplan-files/benchmarks/blocks/domain.pddl
2016-01-29 16:59:40,294 INFO     Parsing Problem /home/gothm/thesis/aclib_repo/target_algorithms/planning/pyperplan/pyperplan-files/benchmarks/blocks/task01.pddl
2016-01-29 16:59:40,296 INFO     5 Predicates parsed
2016-01-29 16:59:40,296 INFO     4 Actions parsed
2016-01-29 16:59:40,296 INFO     4 Objects parsed
2016-01-29 16:59:40,296 INFO     0 Constants parsed
2016-01-29 16:59:40,296 INFO     Grounding start: blocks-4-0
2016-01-29 16:59:40,297 INFO     Relevance analysis removed 0 facts
2016-01-29 16:59:40,297 INFO     Grounding end: blocks-4-0
2016-01-29 16:59:40,297 INFO     29 Variables created
2016-01-29 16:59:40,297 INFO     40 Operators created
2016-01-29 16:59:40,297 INFO     Search start: blocks-4-0
2016-01-29 16:59:40,299 INFO     iterative_deepening_search: depth=6 planlength=6 
2016-01-29 16:59:40,299 INFO     65 Nodes expanded
2016-01-29 16:59:40,299 INFO     Search end: blocks-4-0
2016-01-29 16:59:40,299 INFO     Wall-clock search time: 0.0021
2016-01-29 16:59:40,299 INFO     Plan length: 6
2016-01-29 16:59:40,303 INFO     validate could not be found on the PATH so the plan can not be validated.

Expected result: Pyperplan outputs Goal reached. Start extraction of solution. as the other search engines do. This makes it easier to consistently parse the output of pyperplan for algorithm configuration.

jendrikseipp commented 8 years ago

Original comment by Malte Helmert (Bitbucket: malte, GitHub: maltehelmert).


Should be fixed now. Can you check? The output was already there, but the log level for it was set to debug.

jendrikseipp commented 8 years ago

Original changes by Martin Goth (Bitbucket: mgoth, ).


changed content from "Example call:

> python3 src/pyperplan.py -l info -H hff -s ids benchmark/blocks/task01.pddl
2016-01-29 16:59:40,292 INFO     Found domain /home/gothm/thesis/aclib_repo/target_algorithms/planning/pyperplan/pyperplan-files/benchmarks/blocks/domain.p" to "Example call:

python3 src/pyperplan.py -l info -H hff -s ids benchmark/blocks/task01.pddl 2016-01-29 16:59:40,292 INFO Found domain /home/gothm/thesis/aclib_repo/target_algorithms/planning/pyperplan/pyperplan-files/benchmarks/blocks/domain.p"

jendrikseipp commented 8 years ago

Original changes by Malte Helmert (Bitbucket: malte, GitHub: maltehelmert).


changed state from "new" to "resolved"