Skip to content

Commit

Permalink
Removed INT and REAL fluents from supported kind and removed obsolete…
Browse files Browse the repository at this point in the history
… callback parameter from _solve
  • Loading branch information
Framba-Luca committed Oct 26, 2023
1 parent ff3a0e9 commit 938e42e
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions up_fmap/fmap_planner.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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,
Expand Down

0 comments on commit 938e42e

Please sign in to comment.