ExecutionEnvironment
- class unified_planning.model.contingent.ExecutionEnvironment(problem: ContingentProblem)[source]
Bases:
objectA base class that defines the interface for an environment in the planning domain.
- apply(action: ActionInstance) Dict[FNode, FNode][source]
Applies the given action to the current state of the environment and returns the resulting observation.
- Parameters:
action – A
ActionInstanceobject representing the action to apply.- Returns:
A dictionary mapping the fluent expressions observed by the sensing action to their corresponding values.