public class DefaultConstructionHeuristicForager extends AbstractConstructionHeuristicForager
| Modifier and Type | Field and Description |
|---|---|
protected ConstructionHeuristicMoveScope |
earlyPickedMoveScope |
protected ConstructionHeuristicMoveScope |
maxScoreMoveScope |
protected ConstructionHeuristicPickEarlyType |
pickEarlyType |
protected Comparator<Score> |
scoreComparator |
protected long |
selectedMoveCount |
| Constructor and Description |
|---|
DefaultConstructionHeuristicForager(ConstructionHeuristicPickEarlyType pickEarlyType) |
| Modifier and Type | Method and Description |
|---|---|
void |
addMove(ConstructionHeuristicMoveScope moveScope) |
protected void |
checkPickEarly(ConstructionHeuristicMoveScope moveScope) |
boolean |
isQuitEarly() |
ConstructionHeuristicMoveScope |
pickMove(ConstructionHeuristicStepScope stepScope) |
void |
stepEnded(ConstructionHeuristicStepScope stepScope) |
void |
stepStarted(ConstructionHeuristicStepScope stepScope) |
phaseEnded, phaseStartedsolvingEnded, solvingStartedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitphaseEnded, phaseStartedsolvingEnded, solvingStartedprotected final ConstructionHeuristicPickEarlyType pickEarlyType
protected final Comparator<Score> scoreComparator
protected long selectedMoveCount
protected ConstructionHeuristicMoveScope earlyPickedMoveScope
protected ConstructionHeuristicMoveScope maxScoreMoveScope
public DefaultConstructionHeuristicForager(ConstructionHeuristicPickEarlyType pickEarlyType)
public void stepStarted(ConstructionHeuristicStepScope stepScope)
stepStarted in interface ConstructionHeuristicPhaseLifecycleListenerstepStarted in class ConstructionHeuristicPhaseLifecycleListenerAdapterpublic void stepEnded(ConstructionHeuristicStepScope stepScope)
stepEnded in interface ConstructionHeuristicPhaseLifecycleListenerstepEnded in class ConstructionHeuristicPhaseLifecycleListenerAdapterpublic void addMove(ConstructionHeuristicMoveScope moveScope)
protected void checkPickEarly(ConstructionHeuristicMoveScope moveScope)
public boolean isQuitEarly()
public ConstructionHeuristicMoveScope pickMove(ConstructionHeuristicStepScope stepScope)
Copyright © 2006–2021 JBoss by Red Hat. All rights reserved.