concepts.dm.pdsketch.planners.optimistic_search_bilevel_legacy.enumerate_possible_symbolic_plans_regression_c_v1#
- enumerate_possible_symbolic_plans_regression_c_v1(executor, state, goal_expr, max_actions=10)[source]#
Enumerate all possible plans that can achieve the goal.
- Parameters:
executor (PDSketchExecutor) – the executor.
state (State) – the initial state.
goal_expr (str | ValueOutputExpression) – the goal expression.
max_actions (int) – the maximum number of actions in a plan.
- Returns:
A list of plans. Each plan is a tuple of (actions, csp, initial_state, final_state).
- Return type:
Iterable[Tuple[Sequence[OperatorApplier], ConstraintSatisfactionProblem, State, State]]