org.optaplanner.core.impl.heuristic.selector.common.decorator
Interface SelectionSorter<T>
- All Known Implementing Classes:
- ComparatorSelectionSorter, WeightFactorySelectionSorter
public interface SelectionSorter<T>
Decides the order of a List of selection
(which is a PlanningEntity, a planningValue, a Move or a Selector).
sort
void sort(ScoreDirector scoreDirector,
List<T> selectionList)
- Parameters:
scoreDirector - never null, the ScoreDirector
which has the ScoreDirector.getWorkingSolution() to which the selections belong or apply toselectionList - never null, a List
of PlanningEntity, planningValue, Move or Selector
Copyright © 2006-2014 JBoss by Red Hat. All Rights Reserved.