|
OptaPlanner core 6.0.0.Final | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IterableSelector<T>
Method Summary | |
---|---|
long |
getSize()
A random JIT Selector with Selector.isNeverEnding() true should return a size
as if it would be able to return each distinct element only once,
because the size can be used in SelectionProbabilityWeightFactory . |
Methods inherited from interface org.optaplanner.core.impl.heuristic.selector.Selector |
---|
getCacheType, isContinuous, isNeverEnding |
Methods inherited from interface org.optaplanner.core.impl.phase.event.SolverPhaseLifecycleListener |
---|
phaseEnded, phaseStarted, stepEnded, stepStarted |
Methods inherited from interface org.optaplanner.core.impl.solver.event.SolverLifecycleListener |
---|
solvingEnded, solvingStarted |
Methods inherited from interface java.lang.Iterable |
---|
iterator |
Method Detail |
---|
long getSize()
Selector
with Selector.isNeverEnding()
true should return a size
as if it would be able to return each distinct element only once,
because the size can be used in SelectionProbabilityWeightFactory
.
Selector
, always >= 0
IllegalStateException
- if Selector.isContinuous()
returns true,
but not if only Selector.isNeverEnding()
returns true
|
OptaPlanner core 6.0.0.Final | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |