|
OptaPlanner core 6.2.0.CR2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EntitySelector
Selects instances of 1 PlanningEntity
annotated class.
AbstractEntitySelector
,
FromSolutionEntitySelector
Method Summary | |
---|---|
Iterator<Object> |
endingIterator()
If Selector.isNeverEnding() is true, then Iterable.iterator() will never end. |
EntityDescriptor |
getEntityDescriptor()
|
Methods inherited from interface org.optaplanner.core.impl.heuristic.selector.IterableSelector |
---|
getSize |
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 org.optaplanner.core.impl.heuristic.selector.common.iterator.ListIterable |
---|
listIterator, listIterator |
Methods inherited from interface java.lang.Iterable |
---|
iterator |
Method Detail |
---|
EntityDescriptor getEntityDescriptor()
Iterator<Object> endingIterator()
Selector.isNeverEnding()
is true, then Iterable.iterator()
will never end.
This returns an ending Iterator
, that tries to match Iterable.iterator()
as much as possible,
but return each distinct element only once
and therefore it might not respect the configuration of this EntitySelector
entirely.
Iterable.iterator()
|
OptaPlanner core 6.2.0.CR2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |