org.drools.planner.examples.nqueens.domain.solution
Class QueenDifficultyWeightFactory
java.lang.Object
org.drools.planner.examples.nqueens.domain.solution.QueenDifficultyWeightFactory
- All Implemented Interfaces:
- PlanningEntityDifficultyWeightFactory
public class QueenDifficultyWeightFactory
- extends Object
- implements PlanningEntityDifficultyWeightFactory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QueenDifficultyWeightFactory
public QueenDifficultyWeightFactory()
createDifficultyWeight
public Comparable createDifficultyWeight(Solution solution,
Object planningEntity)
- Specified by:
createDifficultyWeight
in interface PlanningEntityDifficultyWeightFactory
- Parameters:
solution
- never null, the Solution
to which the planningEntity belongsplanningEntity
- never null, the planningEntity to create the difficultyWeight for
- Returns:
- never null
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.