OptaPlanner distribution 6.1.0.Final

org.optaplanner.examples.examination.domain.solver
Class ExamDifficultyWeightFactory

java.lang.Object
  extended by org.optaplanner.examples.examination.domain.solver.ExamDifficultyWeightFactory
All Implemented Interfaces:
SelectionSorterWeightFactory<Examination,Exam>

public class ExamDifficultyWeightFactory
extends Object
implements SelectionSorterWeightFactory<Examination,Exam>


Nested Class Summary
static class ExamDifficultyWeightFactory.ExamDifficultyWeight
           
 
Constructor Summary
ExamDifficultyWeightFactory()
           
 
Method Summary
 Comparable createSorterWeight(Examination examination, Exam exam)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExamDifficultyWeightFactory

public ExamDifficultyWeightFactory()
Method Detail

createSorterWeight

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

OptaPlanner distribution 6.1.0.Final

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