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(LocalSearchSolverPhaseScope phaseScope) |
void |
phaseStarted(LocalSearchSolverPhaseScope phaseScope) |
void |
stepEnded(LocalSearchStepScope stepScope) |
stepStarted
solvingEnded, solvingStarted
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
stepStarted
solvingEnded, solvingStarted
protected int stepCountingHillClimbingSize
protected StepCountingHillClimbingType stepCountingHillClimbingType
protected Score thresholdScore
protected int count
public StepCountingHillClimbingAcceptor(int stepCountingHillClimbingSize, StepCountingHillClimbingType stepCountingHillClimbingType)
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
public void phaseEnded(LocalSearchSolverPhaseScope phaseScope)
phaseEnded
in interface LocalSearchSolverPhaseLifecycleListener
phaseEnded
in class LocalSearchSolverPhaseLifecycleListenerAdapter
Copyright © 2006-2014 JBoss by Red Hat. All Rights Reserved.