org.optaplanner.examples.nqueens.domain.solution
Class QueenDifficultyWeightFactory
java.lang.Object
org.optaplanner.examples.nqueens.domain.solution.QueenDifficultyWeightFactory
- All Implemented Interfaces:
- org.optaplanner.core.impl.heuristic.selector.common.decorator.SelectionSorterWeightFactory<NQueens,Queen>
public class QueenDifficultyWeightFactory
- extends Object
- implements org.optaplanner.core.impl.heuristic.selector.common.decorator.SelectionSorterWeightFactory<NQueens,Queen>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QueenDifficultyWeightFactory
public QueenDifficultyWeightFactory()
createSorterWeight
public Comparable createSorterWeight(NQueens nQueens,
Queen queen)
- Specified by:
createSorterWeight in interface org.optaplanner.core.impl.heuristic.selector.common.decorator.SelectionSorterWeightFactory<NQueens,Queen>
Copyright © 2006-2014 JBoss by Red Hat. All Rights Reserved.