Class AbstractEntitySelector<Solution_>
java.lang.Object
org.optaplanner.core.impl.heuristic.selector.AbstractSelector<Solution_>
org.optaplanner.core.impl.heuristic.selector.entity.AbstractEntitySelector<Solution_>
- Type Parameters:
Solution_
-
- All Implemented Interfaces:
Iterable<Object>
,EventListener
,ListIterable<Object>
,EntitySelector<Solution_>
,IterableSelector<Solution_,
,Object> ListIterableSelector<Solution_,
,Object> Selector<Solution_>
,PhaseLifecycleListener<Solution_>
,SolverLifecycleListener<Solution_>
- Direct Known Subclasses:
AbstractCachingEntitySelector
,FilteringEntitySelector
,FromSolutionEntitySelector
,MimicRecordingEntitySelector
,MimicReplayingEntitySelector
,NearEntityNearbyEntitySelector
,ProbabilityEntitySelector
,SelectedCountLimitEntitySelector
public abstract class AbstractEntitySelector<Solution_>
extends AbstractSelector<Solution_>
implements EntitySelector<Solution_>
It is expected that if two instances share the same properties,
they are
equal
to one another.
This is necessary for proper performance of caches, such as pillar cache or nearby distance matrix cache.-
Field Summary
Fields inherited from class org.optaplanner.core.impl.heuristic.selector.AbstractSelector
logger, phaseLifecycleSupport, workingRandom
-
Constructor Summary
-
Method Summary
Methods inherited from class org.optaplanner.core.impl.heuristic.selector.AbstractSelector
getCacheType, phaseEnded, phaseStarted, solvingEnded, solvingStarted, stepEnded, stepStarted
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.optaplanner.core.impl.heuristic.selector.entity.EntitySelector
endingIterator, getEntityDescriptor
Methods inherited from interface org.optaplanner.core.impl.heuristic.selector.IterableSelector
getSize, spliterator
Methods inherited from interface org.optaplanner.core.impl.heuristic.selector.common.iterator.ListIterable
listIterator, listIterator
Methods inherited from interface org.optaplanner.core.impl.phase.event.PhaseLifecycleListener
phaseEnded, phaseStarted, stepEnded, stepStarted
Methods inherited from interface org.optaplanner.core.impl.heuristic.selector.Selector
getCacheType, isCountable, isNeverEnding
Methods inherited from interface org.optaplanner.core.impl.solver.event.SolverLifecycleListener
solvingEnded, solvingError, solvingStarted