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

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

public class RowStrengthWeightFactory
extends Object
implements PlanningValueStrengthWeightFactory


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

RowStrengthWeightFactory

public RowStrengthWeightFactory()
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-2013 JBoss by Red Hat. All Rights Reserved.