OptaPlanner core 6.0.0.CR2

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).


Method Summary
 void sort(ScoreDirector scoreDirector, List<T> selectionList)
           
 

Method Detail

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 to
selectionList - never null, a List of PlanningEntity, planningValue, Move or Selector

OptaPlanner core 6.0.0.CR2

Copyright © 2006-2013 JBoss by Red Hat. All Rights Reserved.