Skip to content

Commit

Permalink
New enhsp proxy version with exposed facility for handling processes
Browse files Browse the repository at this point in the history
  • Loading branch information
Enrico Scala committed Sep 18, 2024
1 parent f689d3b commit 88bde37
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
ENHSP_dst = './up_enhsp/ENHSP'
ENHSP_PUBLIC = 'ENHSP-Public'
COMPILE_CMD = './compile'
ENHSP_TAG = 'enhsp20-0.14.0'
ENHSP_TAG = 'enhsp-20-0.15.0'
ENHSP_REPO = 'https://gitlab.com/enricos83/ENHSP-Public'
JDK_REQUIRE = 17

Expand Down Expand Up @@ -62,7 +62,7 @@ def run(self):


setup(name='up_enhsp',
version='0.0.25',
version='0.0.26',
description='up_enhsp',
author='UNIBS Team',
author_email='[email protected]',
Expand Down
2 changes: 1 addition & 1 deletion up_enhsp/ENHSP
Submodule ENHSP updated from 486e03 to 2d5d91
3 changes: 2 additions & 1 deletion up_enhsp/enhsp_planner.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def _manage_parameters(self, command):
return command

def _get_cmd(self, domain_filename: str, problem_filename: str, plan_filename: str) -> List[str]:
base_command = ['java', '-jar', pkg_resources.resource_filename(__name__, 'ENHSP/enhsp.jar'), '-o', domain_filename, '-f', problem_filename, '-sp', plan_filename]
base_command = ['java', '-jar', pkg_resources.resource_filename(__name__, 'ENHSP/enhsp.jar'), '-o', domain_filename, '-f', problem_filename, '-sp', plan_filename,'-npm']
return self._manage_parameters(base_command)

def _result_status(
Expand Down Expand Up @@ -80,6 +80,7 @@ def supported_kind() -> 'ProblemKind':
supported_kind.set_actions_cost_kind("FLUENTS_IN_ACTIONS_COST")
supported_kind.set_actions_cost_kind("INT_NUMBERS_IN_ACTIONS_COST")
supported_kind.set_actions_cost_kind("REAL_NUMBERS_IN_ACTIONS_COST")
supported_kind.set_time("PROCESSES")
return supported_kind

@staticmethod
Expand Down

0 comments on commit 88bde37

Please sign in to comment.