Class EntityIndependentFilteringValueSelector<Solution_>
java.lang.Object
ai.timefold.solver.core.impl.heuristic.selector.AbstractSelector<Solution_>
ai.timefold.solver.core.impl.heuristic.selector.AbstractDemandEnabledSelector<Solution_>
ai.timefold.solver.core.impl.heuristic.selector.value.decorator.FilteringValueSelector<Solution_>
ai.timefold.solver.core.impl.heuristic.selector.value.decorator.EntityIndependentFilteringValueSelector<Solution_>
- All Implemented Interfaces:
IterableSelector<Solution_,,Object> Selector<Solution_>,EntityIndependentValueSelector<Solution_>,ValueSelector<Solution_>,PhaseLifecycleListener<Solution_>,SolverLifecycleListener<Solution_>,Iterable<Object>,EventListener
public final class EntityIndependentFilteringValueSelector<Solution_>
extends FilteringValueSelector<Solution_>
implements EntityIndependentValueSelector<Solution_>
-
Nested Class Summary
Nested classes/interfaces inherited from class ai.timefold.solver.core.impl.heuristic.selector.value.decorator.FilteringValueSelector
FilteringValueSelector.JustInTimeFilteringValueIterator -
Field Summary
Fields inherited from class ai.timefold.solver.core.impl.heuristic.selector.value.decorator.FilteringValueSelector
bailOutEnabled, childValueSelectorFields inherited from class ai.timefold.solver.core.impl.heuristic.selector.AbstractSelector
logger, phaseLifecycleSupport, workingRandom -
Method Summary
Modifier and TypeMethodDescriptionlonggetSize()A random JITSelectorwithSelector.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 inSelectionProbabilityWeightFactory.iterator()Methods inherited from class ai.timefold.solver.core.impl.heuristic.selector.value.decorator.FilteringValueSelector
determineBailOutSize, endingIterator, equals, getSize, getVariableDescriptor, hashCode, isCountable, isNeverEnding, iterator, of, ofAssigned, ofAssigned, phaseEnded, phaseStarted, toStringMethods inherited from class ai.timefold.solver.core.impl.heuristic.selector.AbstractSelector
getCacheType, solvingEnded, solvingStarted, stepEnded, stepStartedMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface ai.timefold.solver.core.impl.heuristic.selector.IterableSelector
spliteratorMethods inherited from interface ai.timefold.solver.core.impl.phase.event.PhaseLifecycleListener
phaseEnded, phaseStarted, stepEnded, stepStartedMethods inherited from interface ai.timefold.solver.core.impl.heuristic.selector.Selector
getCacheType, isCountable, isNeverEndingMethods inherited from interface ai.timefold.solver.core.impl.solver.event.SolverLifecycleListener
solvingEnded, solvingError, solvingStartedMethods inherited from interface ai.timefold.solver.core.impl.heuristic.selector.value.ValueSelector
endingIterator, getSize, getVariableDescriptor, iterator
-
Method Details
-
getSize
public long getSize()Description copied from interface:IterableSelectorA random JITSelectorwithSelector.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 inSelectionProbabilityWeightFactory.- Specified by:
getSizein interfaceIterableSelector<Solution_,Object> - Returns:
- the approximate number of elements generated by this
Selector, always>= 0
-
iterator
-