OptaPlanner examples 6.1.0.Beta4

org.optaplanner.examples.nqueens.domain.solution
Class QueenDifficultyWeightFactory

java.lang.Object
  extended by 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>


Nested Class Summary
static class QueenDifficultyWeightFactory.QueenDifficultyWeight
           
 
Constructor Summary
QueenDifficultyWeightFactory()
           
 
Method Summary
 Comparable createSorterWeight(NQueens nQueens, Queen queen)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueenDifficultyWeightFactory

public QueenDifficultyWeightFactory()
Method Detail

createSorterWeight

public Comparable createSorterWeight(NQueens nQueens,
                                     Queen queen)
Specified by:
createSorterWeight in interface org.optaplanner.core.impl.heuristic.selector.common.decorator.SelectionSorterWeightFactory<NQueens,Queen>

OptaPlanner examples 6.1.0.Beta4

Copyright © 2006-2014 JBoss by Red Hat. All Rights Reserved.