Skip to content

Commit

Permalink
Use more result statuses to better reflect planner exit codes
Browse files Browse the repository at this point in the history
  • Loading branch information
roeger authored Nov 7, 2023
1 parent b017408 commit e6244f4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
UP Fast Downward 0.3.3
- fix bug in fast-downward-reachability grounder
- silence output in grounders
- support result status MEMOUT, TIMEOUT and UNSUPPORTED_PROBLEM

UP Fast Downward 0.3.2
- support UP problem kind version 2
Expand Down
6 changes: 6 additions & 0 deletions up_fast_downward/fast_downward.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,12 @@ def solved(metrics):
return ResultStatus.UNSOLVABLE_PROVEN
if retval == 12:
return ResultStatus.UNSOLVABLE_INCOMPLETELY
if retval == 34:
return ResultStatus.UNSUPPORTED_PROBLEM
if retval in (21, 23):
return ResultStatus.TIMEOUT
if retval in (20, 22):
return ResultStatus.MEMOUT
else:
return ResultStatus.INTERNAL_ERROR

Expand Down

0 comments on commit e6244f4

Please sign in to comment.