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) |
stepEnded
solvingEnded, solvingStarted
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
stepEnded
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(LocalSearchPhaseScope phaseScope)
phaseStarted
in interface LocalSearchPhaseLifecycleListener
phaseStarted
in class LocalSearchPhaseLifecycleListenerAdapter
public void phaseEnded(LocalSearchPhaseScope phaseScope)
phaseEnded
in interface LocalSearchPhaseLifecycleListener
phaseEnded
in class LocalSearchPhaseLifecycleListenerAdapter
public boolean isAccepted(LocalSearchMoveScope moveScope)
moveScope
- not nullpublic void stepStarted(LocalSearchStepScope stepScope)
stepStarted
in interface LocalSearchPhaseLifecycleListener
stepStarted
in class LocalSearchPhaseLifecycleListenerAdapter
Copyright © 2006–2020 JBoss by Red Hat. All rights reserved.