public interface Selector extends SolverPhaseLifecycleListener
MoveSelector
, EntitySelector
and ValueSelector
which generates Move
s or parts of them.Modifier and Type | Method and Description |
---|---|
SelectionCacheType |
getCacheType()
Unless this selector itself caches, this returns
SelectionCacheType.JUST_IN_TIME ,
even if a selector child caches. |
boolean |
isContinuous()
If true, then
isNeverEnding() is also true. |
boolean |
isNeverEnding()
Is true if
isContinuous() is true
or if this selector is in random order (for most cases). |
phaseEnded, phaseStarted, stepEnded, stepStarted
solvingEnded, solvingStarted
boolean isContinuous()
isNeverEnding()
is also true.boolean isNeverEnding()
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.SelectionCacheType getCacheType()
SelectionCacheType.JUST_IN_TIME
,
even if a selector child caches.Copyright © 2006-2014 JBoss by Red Hat. All Rights Reserved.