public class ShiftingHardPenaltyDeciderScoreComparatorFactory extends AbstractDeciderScoreComparatorFactory
DeciderScoreComparatorFactory
logger
Constructor and Description |
---|
ShiftingHardPenaltyDeciderScoreComparatorFactory() |
Modifier and Type | Method and Description |
---|---|
Comparator<Score> |
createDeciderScoreComparator() |
void |
phaseStarted(LocalSearchPhaseScope phaseScope) |
void |
setHardScoreActivationThreshold(int hardScoreActivationThreshold) |
void |
setHardWeightSurvivalRatio(double hardWeightSurvivalRatio) |
void |
setStartingHardWeight(int startingHardWeight) |
void |
setSuccessiveNoHardChangeMaximum(int successiveNoHardChangeMaximum) |
void |
setSuccessiveNoHardChangeMinimum(int successiveNoHardChangeMinimum) |
void |
setSuccessiveNoHardChangeRepetitionMultiplicand(double successiveNoHardChangeRepetitionMultiplicand) |
void |
stepEnded(LocalSearchStepScope stepScope) |
phaseEnded, stepStarted
solvingEnded, solvingStarted
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
phaseEnded, stepStarted
solvingEnded, solvingStarted
public ShiftingHardPenaltyDeciderScoreComparatorFactory()
public void setHardScoreActivationThreshold(int hardScoreActivationThreshold)
public void setSuccessiveNoHardChangeMinimum(int successiveNoHardChangeMinimum)
public void setSuccessiveNoHardChangeMaximum(int successiveNoHardChangeMaximum)
public void setSuccessiveNoHardChangeRepetitionMultiplicand(double successiveNoHardChangeRepetitionMultiplicand)
public void setHardWeightSurvivalRatio(double hardWeightSurvivalRatio)
public void setStartingHardWeight(int startingHardWeight)
public void phaseStarted(LocalSearchPhaseScope phaseScope)
phaseStarted
in interface LocalSearchPhaseLifecycleListener
phaseStarted
in class LocalSearchPhaseLifecycleListenerAdapter
public void stepEnded(LocalSearchStepScope stepScope)
stepEnded
in interface LocalSearchPhaseLifecycleListener
stepEnded
in class LocalSearchPhaseLifecycleListenerAdapter
public Comparator<Score> createDeciderScoreComparator()
Copyright © 2006–2016 JBoss by Red Hat. All rights reserved.