org.optaplanner.core.impl.heuristic.selector.common.decorator
public class WeightFactorySelectionSorter extends Object implements SelectionSorter<Object>
Constructor and Description |
---|
WeightFactorySelectionSorter(SelectionSorterWeightFactory<Solution,Object> selectionSorterWeightFactory,
SelectionSorterOrder selectionSorterOrder) |
public WeightFactorySelectionSorter(SelectionSorterWeightFactory<Solution,Object> selectionSorterWeightFactory, SelectionSorterOrder selectionSorterOrder)
public void sort(ScoreDirector scoreDirector, List<Object> selectionList)
sort
in interface SelectionSorter<Object>
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-2013 JBoss by Red Hat. All Rights Reserved.