Drools Planner distribution 6.0.0.Alpha9

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:
SelectionSorterWeightFactory<NQueens,Row>

public class RowStrengthWeightFactory
extends Object
implements SelectionSorterWeightFactory<NQueens,Row>


Nested Class Summary
static class RowStrengthWeightFactory.RowStrengthWeight
           
 
Constructor Summary
RowStrengthWeightFactory()
           
 
Method Summary
 Comparable createSorterWeight(NQueens nQueens, Row row)
           
 
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

createSorterWeight

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

Drools Planner distribution 6.0.0.Alpha9

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