initSelectedPlanningEntityList(solverPhaseScope);
}
private void validateConfiguration() {
if (selectionOrder == PlanningEntitySelectionOrder.DECREASING_DIFFICULTY) {
PlanningEntitySorter planningEntitySorter = planningEntityDescriptor.getPlanningEntitySorter();
if (!planningEntitySorter.isSortDifficultySupported()) {
throw new IllegalStateException("The selectionOrder (" + selectionOrder
+ ") can not be used on a PlanningEntity ("
+ planningEntityDescriptor.getPlanningEntityClass().getName()
+ ") that has no support for difficulty sorting. Check the @PlanningEntity annotation.");
}