public ReGoapPlanner(ReGoapPlannerSettings settings = null) { this.settings = settings ?? new ReGoapPlannerSettings(); astar = new AStar <ReGoapState <T, W> >(this.settings.MaxNodesToExpand); }