Skip to content

Commit

Permalink
First attempt at a service endpoint for poprp and rpmep.
Browse files Browse the repository at this point in the history
  • Loading branch information
haz committed Sep 27, 2023
1 parent d7cafac commit 2bd1965
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
10 changes: 9 additions & 1 deletion planutils/packages/poprp/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,13 @@
"description": "A version of PRP capable of solving non-deterministic planning problems with partial observability and sensing. The process is always sound, and complete for simple contingent problems.",
"homepage": "https://github.com/QuMuLab/planner-for-relevant-policies/wiki/PO-PRP",
"install-size": "63M",
"dependencies": []
"dependencies": [],
"endpoint": {
"services": {
"solve": {
"template": "planner",
"call":"{package_name} {domain} {problem} ; chmod a+x compile_plan.sh ; ./compile_plan.sh"
}
}
}
}
14 changes: 13 additions & 1 deletion planutils/packages/rpmep/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,17 @@
"name": "RP-MEP",
"description": "Epistemic Planner RP-MEP. https://github.com/QuMuLab/pdkb-planning",
"install-size": "255M",
"dependencies": []
"dependencies": [],
"endpoint": {
"services": {
"solve": {
"template": "planner",
"call":"{package_name} {domain} {problem} --keep-files",
"return": {
"type": "generic",
"files": "pdkb-*"
}
}
}
}
}

0 comments on commit 2bd1965

Please sign in to comment.