OptaPlanner core 6.0.0.CR4

org.optaplanner.core.impl.heuristic.selector.common.decorator
Class WeightFactorySelectionSorter

java.lang.Object
  extended by org.optaplanner.core.impl.heuristic.selector.common.decorator.WeightFactorySelectionSorter
All Implemented Interfaces:
SelectionSorter<Object>

public class WeightFactorySelectionSorter
extends Object
implements SelectionSorter<Object>


Constructor Summary
WeightFactorySelectionSorter(SelectionSorterWeightFactory<Solution,Object> selectionSorterWeightFactory, SelectionSorterOrder selectionSorterOrder)
           
 
Method Summary
 void sort(ScoreDirector scoreDirector, List<Object> 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,Object> selectionSorterWeightFactory,
                                    SelectionSorterOrder selectionSorterOrder)
Method Detail

sort

public void sort(ScoreDirector scoreDirector,
                 List<Object> selectionList)
Specified by:
sort in interface SelectionSorter<Object>
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.CR4

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