Class AbstractValueSelector<Solution_>
java.lang.Object
org.optaplanner.core.impl.heuristic.selector.AbstractSelector<Solution_>
org.optaplanner.core.impl.heuristic.selector.value.AbstractValueSelector<Solution_>
- All Implemented Interfaces:
EventListener
,Selector<Solution_>
,ValueSelector<Solution_>
,PhaseLifecycleListener<Solution_>
,SolverLifecycleListener<Solution_>
- Direct Known Subclasses:
AbstractCachingValueSelector
,AssignedValueSelector
,DowncastingValueSelector
,EntityDependentSortingValueSelector
,FilteringValueSelector
,FromEntityPropertyValueSelector
,FromSolutionPropertyValueSelector
,InitializedValueSelector
,MimicRecordingValueSelector
,MimicReplayingValueSelector
,NearEntityNearbyValueSelector
,ProbabilityValueSelector
,ReinitializeVariableValueSelector
,SelectedCountLimitValueSelector
,UnassignedValueSelector
public abstract class AbstractValueSelector<Solution_>
extends AbstractSelector<Solution_>
implements ValueSelector<Solution_>
Abstract superclass for
ValueSelector
.
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.- See Also:
-
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.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
Methods inherited from interface org.optaplanner.core.impl.heuristic.selector.value.ValueSelector
endingIterator, getSize, getVariableDescriptor, iterator