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

## org.optaplanner.core.impl.heuristic.selector.common.decorator
Class WeightFactorySelectionSorter<T>

    java.lang.Object
      org.optaplanner.core.impl.heuristic.selector.common.decorator.WeightFactorySelectionSorter<T>

All Implemented Interfaces:
  SelectionSorter<T>

    public class WeightFactorySelectionSorter<T>

extends Object
implements SelectionSorter<T>

Constructor Summary
`WeightFactorySelectionSorter(SelectionSorterWeightFactory<Solution,T> selectionSorterWeightFactory, SelectionSorterOrder selectionSorterOrder)`

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

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### WeightFactorySelectionSorter

    public WeightFactorySelectionSorter(SelectionSorterWeightFactory<Solution,T> selectionSorterWeightFactory,
                                        SelectionSorterOrder selectionSorterOrder)

Method Detail

### sort

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

  Specified by:
    `sort` in interface `SelectionSorter<T>`
  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.1.0.CR2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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