bool
achieve_goal (WorldState target_state, List
<int
> excluded = new List
(), bool
resolving_target = false)
bool
achieve_goal (WorldState target_state, List
<int
> excluded = new List
(), bool
resolving_target = false)
Executes a chain of actions to change the world into the desired state.
excluded | A list of schema IDs to exclude being from potential paths. |
targetState | The world conditions that should be true at the end of execution. |
A boolean indicating whether the target state was successfully achieved. |