prune

abstract fun prune(planningSystem: S): S

Return a PlanningSystem that excludes all actions that cannot help achieve one of the goals from the present world state.