org.optaplanner.core.impl.localsearch.decider.acceptor.simulatedannealing
public class LegacySimulatedAnnealingAcceptor extends AbstractAcceptor
SimulatedAnnealingAcceptor
is always better.Modifier and Type | Field and Description |
---|---|
protected double |
startingTemperature |
protected double |
temperature |
protected double |
temperatureSurvival |
logger
Constructor and Description |
---|
LegacySimulatedAnnealingAcceptor() |
Modifier and Type | Method and Description |
---|---|
boolean |
isAccepted(LocalSearchMoveScope moveScope) |
void |
phaseStarted(LocalSearchSolverPhaseScope phaseScope) |
void |
setStartingTemperature(double startingTemperature) |
void |
setTemperatureSurvival(double temperatureSurvival) |
void |
stepEnded(LocalSearchStepScope stepScope) |
phaseEnded, stepStarted
solvingEnded, solvingStarted
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
phaseEnded, stepStarted
solvingEnded, solvingStarted
protected double startingTemperature
protected double temperatureSurvival
protected double temperature
public void setStartingTemperature(double startingTemperature)
public void setTemperatureSurvival(double temperatureSurvival)
public void phaseStarted(LocalSearchSolverPhaseScope phaseScope)
phaseStarted
in interface LocalSearchSolverPhaseLifecycleListener
phaseStarted
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.