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:
PlanningEntityDifficultyWeightFactory

public class LectureDifficultyWeightFactory
extends Object
implements PlanningEntityDifficultyWeightFactory


Nested Class Summary
static class LectureDifficultyWeightFactory.LectureDifficultyWeight
           
 
Constructor Summary
LectureDifficultyWeightFactory()
           
 
Method Summary
 Comparable createDifficultyWeight(Solution solution, Object planningEntity)
           
 
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

createDifficultyWeight

public Comparable createDifficultyWeight(Solution solution,
                                         Object planningEntity)
Specified by:
createDifficultyWeight in interface PlanningEntityDifficultyWeightFactory
Parameters:
solution - never null, the Solution to which the planningEntity belongs
planningEntity - never null, the planningEntity to create the difficultyWeight for
Returns:
never null


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