org.optaplanner.examples.examination.domain.solver
Class RoomStrengthWeightFactory
java.lang.Object
org.optaplanner.examples.examination.domain.solver.RoomStrengthWeightFactory
- All Implemented Interfaces:
- SelectionSorterWeightFactory<Examination,Room>
public class RoomStrengthWeightFactory
- extends Object
- implements SelectionSorterWeightFactory<Examination,Room>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RoomStrengthWeightFactory
public RoomStrengthWeightFactory()
createSorterWeight
public Comparable createSorterWeight(Examination examination,
Room room)
- Specified by:
createSorterWeight in interface SelectionSorterWeightFactory<Examination,Room>
- Parameters:
examination - never null, the Solution to which the selection belongs or applies toroom - never null, a PlanningEntity, a planningValue, a Move or a Selector
- Returns:
- never null, for example a
Integer, Double or a more complex Comparable
Copyright © 2006-2014 JBoss by Red Hat. All Rights Reserved.