org.optaplanner.core.impl.localsearch.decider.acceptor.simulatedannealing
public class SimulatedAnnealingAcceptor extends AbstractAcceptor
Modifier and Type | Field and Description |
---|---|
protected int |
levelsLength |
protected Score |
startingTemperature |
protected double[] |
startingTemperatureLevels |
protected double[] |
temperatureLevels |
protected double |
temperatureMinimum |
logger
Constructor and Description |
---|
SimulatedAnnealingAcceptor() |
Modifier and Type | Method and Description |
---|---|
boolean |
isAccepted(LocalSearchMoveScope moveScope) |
void |
phaseEnded(LocalSearchSolverPhaseScope phaseScope) |
void |
phaseStarted(LocalSearchSolverPhaseScope phaseScope) |
void |
setStartingTemperature(Score startingTemperature) |
void |
stepEnded(LocalSearchStepScope stepScope) |
stepStarted
solvingEnded, solvingStarted
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
stepStarted
solvingEnded, solvingStarted
protected Score startingTemperature
protected int levelsLength
protected double[] startingTemperatureLevels
protected double[] temperatureLevels
protected double temperatureMinimum
public void setStartingTemperature(Score startingTemperature)
public void phaseStarted(LocalSearchSolverPhaseScope phaseScope)
phaseStarted
in interface LocalSearchSolverPhaseLifecycleListener
phaseStarted
in class LocalSearchSolverPhaseLifecycleListenerAdapter
public void phaseEnded(LocalSearchSolverPhaseScope phaseScope)
phaseEnded
in interface LocalSearchSolverPhaseLifecycleListener
phaseEnded
in class LocalSearchSolverPhaseLifecycleListenerAdapter
public boolean isAccepted(LocalSearchMoveScope moveScope)
moveScope
- not nullpublic void stepEnded(LocalSearchStepScope stepScope)
stepEnded
in interface LocalSearchSolverPhaseLifecycleListener
stepEnded
in class LocalSearchSolverPhaseLifecycleListenerAdapter
Copyright © 2006-2013 JBoss by Red Hat. All Rights Reserved.