|
OptaPlanner core 6.2.0.CR2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Selector
General interface for MoveSelector
, EntitySelector
and ValueSelector
which generates Move
s or parts of them.
Method Summary | |
---|---|
SelectionCacheType |
getCacheType()
Unless this selector itself caches, this returns SelectionCacheType.JUST_IN_TIME ,
even if a selector child caches. |
boolean |
isCountable()
If false, then isNeverEnding() is true. |
boolean |
isNeverEnding()
Is true if isCountable() is false
or if this selector is in random order (for most cases). |
Methods inherited from interface org.optaplanner.core.impl.phase.event.PhaseLifecycleListener |
---|
phaseEnded, phaseStarted, stepEnded, stepStarted |
Methods inherited from interface org.optaplanner.core.impl.solver.event.SolverLifecycleListener |
---|
solvingEnded, solvingStarted |
Method Detail |
---|
boolean isCountable()
isNeverEnding()
is true.
ValueRange
s are countable
(for example a double value range between 1.2 and 1.4 is not countable)boolean isNeverEnding()
isCountable()
is false
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 (except when it's empty).SelectionCacheType getCacheType()
SelectionCacheType.JUST_IN_TIME
,
even if a selector child caches.
|
OptaPlanner core 6.2.0.CR2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |