org.drools.planner.examples.nqueens.domain.solution
Class QueenDifficultyWeightFactory

java.lang.Object
  extended by org.drools.planner.examples.nqueens.domain.solution.QueenDifficultyWeightFactory
All Implemented Interfaces:
PlanningEntityDifficultyWeightFactory

public class QueenDifficultyWeightFactory
extends Object
implements PlanningEntityDifficultyWeightFactory


Nested Class Summary
static class QueenDifficultyWeightFactory.QueenDifficultyWeight
           
 
Constructor Summary
QueenDifficultyWeightFactory()
           
 
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

QueenDifficultyWeightFactory

public QueenDifficultyWeightFactory()
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.