org.drools.planner.examples.curriculumcourse.domain.solver
Class PeriodStrengthWeightFactory
java.lang.Object
org.drools.planner.examples.curriculumcourse.domain.solver.PeriodStrengthWeightFactory
- All Implemented Interfaces:
- SelectionSorterWeightFactory<CourseSchedule,Period>
public class PeriodStrengthWeightFactory
- extends Object
- implements SelectionSorterWeightFactory<CourseSchedule,Period>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PeriodStrengthWeightFactory
public PeriodStrengthWeightFactory()
createSorterWeight
public Comparable createSorterWeight(CourseSchedule schedule,
Period period)
- Specified by:
createSorterWeight
in interface SelectionSorterWeightFactory<CourseSchedule,Period>
- Parameters:
schedule
- never null, the Solution
to which the selection belongs or applies toperiod
- 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 © 2001-2013 JBoss by Red Hat. All Rights Reserved.