org.optaplanner.examples.nqueens.solver.score
Class NQueensAdvancedIncrementalScoreCalculator
java.lang.Object
org.optaplanner.core.impl.score.director.incremental.AbstractIncrementalScoreCalculator<NQueens>
org.optaplanner.examples.nqueens.solver.score.NQueensAdvancedIncrementalScoreCalculator
- All Implemented Interfaces:
- IncrementalScoreCalculator<NQueens>
public class NQueensAdvancedIncrementalScoreCalculator
- extends AbstractIncrementalScoreCalculator<NQueens>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NQueensAdvancedIncrementalScoreCalculator
public NQueensAdvancedIncrementalScoreCalculator()
resetWorkingSolution
public void resetWorkingSolution(NQueens nQueens)
beforeEntityAdded
public void beforeEntityAdded(Object entity)
afterEntityAdded
public void afterEntityAdded(Object entity)
beforeVariableChanged
public void beforeVariableChanged(Object entity,
String variableName)
afterVariableChanged
public void afterVariableChanged(Object entity,
String variableName)
beforeEntityRemoved
public void beforeEntityRemoved(Object entity)
afterEntityRemoved
public void afterEntityRemoved(Object entity)
calculateScore
public SimpleScore calculateScore()
- Returns:
- never null
Copyright © 2006-2013 JBoss by Red Hat. All Rights Reserved.