|
OptaPlanner core 6.2.0.CR2 | |||||||||
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, isCountable, isNeverEnding |
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 |
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.isCountable()
returns false,
but not if only Selector.isNeverEnding()
returns true
|
OptaPlanner core 6.2.0.CR2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |