public class StepCountingHillClimbingAcceptor extends AbstractAcceptor
| Modifier and Type | Field and Description |
|---|---|
protected int |
count |
protected int |
stepCountingHillClimbingSize |
protected StepCountingHillClimbingType |
stepCountingHillClimbingType |
protected Score |
thresholdScore |
logger| Constructor and Description |
|---|
StepCountingHillClimbingAcceptor(int stepCountingHillClimbingSize,
StepCountingHillClimbingType stepCountingHillClimbingType) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAccepted(LocalSearchMoveScope moveScope) |
void |
phaseEnded(LocalSearchPhaseScope phaseScope) |
void |
phaseStarted(LocalSearchPhaseScope phaseScope) |
void |
stepEnded(LocalSearchStepScope stepScope) |
stepStartedsolvingEnded, solvingStartedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitstepStartedsolvingEnded, solvingStartedprotected int stepCountingHillClimbingSize
protected StepCountingHillClimbingType stepCountingHillClimbingType
protected Score thresholdScore
protected int count
public StepCountingHillClimbingAcceptor(int stepCountingHillClimbingSize,
StepCountingHillClimbingType stepCountingHillClimbingType)
public void phaseStarted(LocalSearchPhaseScope phaseScope)
phaseStarted in interface LocalSearchPhaseLifecycleListenerphaseStarted in class LocalSearchPhaseLifecycleListenerAdapterpublic boolean isAccepted(LocalSearchMoveScope moveScope)
moveScope - not nullpublic void stepEnded(LocalSearchStepScope stepScope)
stepEnded in interface LocalSearchPhaseLifecycleListenerstepEnded in class LocalSearchPhaseLifecycleListenerAdapterpublic void phaseEnded(LocalSearchPhaseScope phaseScope)
phaseEnded in interface LocalSearchPhaseLifecycleListenerphaseEnded in class LocalSearchPhaseLifecycleListenerAdapterCopyright © 2006–2021 JBoss by Red Hat. All rights reserved.