Drools Planner distribution 6.0.0.Alpha9

org.drools.planner.examples.curriculumcourse.domain.solver
Class LectureDifficultyWeightFactory

java.lang.Object
  extended by org.drools.planner.examples.curriculumcourse.domain.solver.LectureDifficultyWeightFactory
All Implemented Interfaces:
SelectionSorterWeightFactory<CourseSchedule,Lecture>

public class LectureDifficultyWeightFactory
extends Object
implements SelectionSorterWeightFactory<CourseSchedule,Lecture>


Nested Class Summary
static class LectureDifficultyWeightFactory.LectureDifficultyWeight
           
 
Constructor Summary
LectureDifficultyWeightFactory()
           
 
Method Summary
 Comparable createSorterWeight(CourseSchedule schedule, Lecture lecture)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LectureDifficultyWeightFactory

public LectureDifficultyWeightFactory()
Method Detail

createSorterWeight

public Comparable createSorterWeight(CourseSchedule schedule,
                                     Lecture lecture)
Specified by:
createSorterWeight in interface SelectionSorterWeightFactory<CourseSchedule,Lecture>
Parameters:
schedule - never null, the Solution to which the selection belongs or applies to
lecture - never null, a PlanningEntity, a planningValue, a Move or a Selector
Returns:
never null, for example a Integer, Double or a more complex Comparable

Drools Planner distribution 6.0.0.Alpha9

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