public class ShufflingMoveSelector extends AbstractCachingMoveSelector
cachedMoveList, cacheType, childMoveSelector
logger, solverPhaseLifecycleSupport, workingRandom
Constructor and Description |
---|
ShufflingMoveSelector(MoveSelector childMoveSelector,
SelectionCacheType cacheType) |
Modifier and Type | Method and Description |
---|---|
boolean |
isNeverEnding()
Is true if
Selector.isContinuous() is true
or if this selector is in random order (for most cases). |
Iterator<Move> |
iterator() |
String |
toString() |
constructCache, disposeCache, getCacheType, getChildMoveSelector, getSize, isContinuous
phaseEnded, phaseStarted, solvingEnded, solvingStarted, stepEnded, stepStarted
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
phaseEnded, phaseStarted, stepEnded, stepStarted
solvingEnded, solvingStarted
public ShufflingMoveSelector(MoveSelector childMoveSelector, SelectionCacheType cacheType)
public boolean isNeverEnding()
Selector
Selector.isContinuous()
is true
or if this selector is in random order (for most cases).
Is never true when this selector is in shuffled order (which is less scalable but more exact).Iterator.hasNext()
of the Iterator
created by Iterable.iterator()
never returns false.Copyright © 2006-2014 JBoss by Red Hat. All Rights Reserved.