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

java.lang.Object
  extended by org.drools.planner.examples.curriculumcourse.domain.solver.PeriodStrengthWeightFactory
All Implemented Interfaces:
PlanningValueStrengthWeightFactory

public class PeriodStrengthWeightFactory
extends Object
implements PlanningValueStrengthWeightFactory


Nested Class Summary
static class PeriodStrengthWeightFactory.PeriodStrengthWeight
           
 
Constructor Summary
PeriodStrengthWeightFactory()
           
 
Method Summary
 Comparable createStrengthWeight(Solution solution, Object planningValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PeriodStrengthWeightFactory

public PeriodStrengthWeightFactory()
Method Detail

createStrengthWeight

public Comparable createStrengthWeight(Solution solution,
                                       Object planningValue)
Specified by:
createStrengthWeight in interface PlanningValueStrengthWeightFactory
Parameters:
solution - never null, the Solution to which the planningEntity belongs
planningValue - never null, the planning value to create the strengthWeight for
Returns:
never null


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