Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| OptaPlanner distribution 6.0.0.CR5
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| OptaPlanner distribution 6.0.0.CR5
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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