Skip to content

Commit

Permalink
Merge pull request #3 from aiplan4eu/problem-kind-version
Browse files Browse the repository at this point in the history
Updated ProblemKind's version to 2
  • Loading branch information
Alee08 authored Oct 27, 2023
2 parents d0e3c0c + 938e42e commit c0c8903
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def run(self):

setup(
name="up_fmap",
version="0.0.7",
version="0.0.8",
description="up_fmap",
author="Alejandro Torreño, Eva Onaindia and Oscar Sapena",
author_email="[email protected]",
Expand Down
6 changes: 1 addition & 5 deletions up_fmap/fmap_planner.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def _result_status(

@staticmethod
def supported_kind() -> "ProblemKind":
supported_kind = ProblemKind()
supported_kind = ProblemKind(version=2)
supported_kind.set_problem_class("ACTION_BASED_MULTI_AGENT")
supported_kind.set_typing("FLAT_TYPING")
supported_kind.set_typing("HIERARCHICAL_TYPING")
Expand All @@ -104,7 +104,6 @@ def supported_kind() -> "ProblemKind":
supported_kind.set_conditions_kind("EXISTENTIAL_CONDITIONS")
supported_kind.set_conditions_kind("UNIVERSAL_CONDITIONS")
supported_kind.set_effects_kind("CONDITIONAL_EFFECTS")
supported_kind.set_fluents_type("NUMERIC_FLUENTS")
supported_kind.set_fluents_type("OBJECT_FLUENTS")
return supported_kind

Expand All @@ -119,9 +118,6 @@ def get_credits(**kwargs) -> Optional["Credits"]:
def _solve(
self,
problem: "up.model.AbstractProblem",
callback: Optional[
Callable[["up.engines.results.PlanGenerationResult"], None]
] = None,
heuristic: Optional[
Callable[["up.model.state.ROState"], Optional[float]]
] = None,
Expand Down

0 comments on commit c0c8903

Please sign in to comment.