org.drools.planner.examples.nqueens.domain.solution
Class RowStrengthWeightFactory
java.lang.Object
org.drools.planner.examples.nqueens.domain.solution.RowStrengthWeightFactory
- All Implemented Interfaces:
- SelectionSorterWeightFactory<NQueens,Row>
public class RowStrengthWeightFactory
- extends Object
- implements SelectionSorterWeightFactory<NQueens,Row>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RowStrengthWeightFactory
public RowStrengthWeightFactory()
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 torow
- never null, a PlanningEntity
, a planningValue, a Move
or a Selector
- Returns:
- never null, for example a
Integer
, Double
or a more complex Comparable
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.