From 938e42e997f8bee60d09463511ac94cae5074020 Mon Sep 17 00:00:00 2001 From: Luca Framba Date: Thu, 26 Oct 2023 16:40:37 +0200 Subject: [PATCH] Removed INT and REAL fluents from supported kind and removed obsolete callback parameter from _solve --- up_fmap/fmap_planner.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/up_fmap/fmap_planner.py b/up_fmap/fmap_planner.py index 8c459cb..6db5845 100644 --- a/up_fmap/fmap_planner.py +++ b/up_fmap/fmap_planner.py @@ -104,8 +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("INT_FLUENTS") - supported_kind.set_fluents_type("REAL_FLUENTS") supported_kind.set_fluents_type("OBJECT_FLUENTS") return supported_kind @@ -120,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,