diff --git a/setup.py b/setup.py index fb4ae51..1eb402a 100644 --- a/setup.py +++ b/setup.py @@ -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="onaindia@dsic.upv.es", diff --git a/up_fmap/fmap_planner.py b/up_fmap/fmap_planner.py index dceac21..6db5845 100644 --- a/up_fmap/fmap_planner.py +++ b/up_fmap/fmap_planner.py @@ -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") @@ -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 @@ -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,