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(LocalSearchPhaseScope phaseScope) |
void |
phaseStarted(LocalSearchPhaseScope phaseScope) |
void |
setStartingTemperature(Score startingTemperature) |
void |
stepStarted(LocalSearchStepScope stepScope) |
stepEndedsolvingEnded, solvingStartedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitstepEndedsolvingEnded, solvingStartedprotected Score startingTemperature
protected int levelsLength
protected double[] startingTemperatureLevels
protected double[] temperatureLevels
protected double temperatureMinimum
public void setStartingTemperature(Score startingTemperature)
public void phaseStarted(LocalSearchPhaseScope phaseScope)
phaseStarted in interface LocalSearchPhaseLifecycleListenerphaseStarted in class LocalSearchPhaseLifecycleListenerAdapterpublic void phaseEnded(LocalSearchPhaseScope phaseScope)
phaseEnded in interface LocalSearchPhaseLifecycleListenerphaseEnded in class LocalSearchPhaseLifecycleListenerAdapterpublic boolean isAccepted(LocalSearchMoveScope moveScope)
moveScope - not nullpublic void stepStarted(LocalSearchStepScope stepScope)
stepStarted in interface LocalSearchPhaseLifecycleListenerstepStarted in class LocalSearchPhaseLifecycleListenerAdapterCopyright © 2006–2021 JBoss by Red Hat. All rights reserved.