Class InitializedValueSelector<Solution_>

java.lang.Object
org.optaplanner.core.impl.heuristic.selector.AbstractSelector<Solution_>
org.optaplanner.core.impl.heuristic.selector.AbstractDemandEnabledSelector<Solution_>
org.optaplanner.core.impl.heuristic.selector.value.decorator.InitializedValueSelector<Solution_>
All Implemented Interfaces:
EventListener, Selector<Solution_>, ValueSelector<Solution_>, PhaseLifecycleListener<Solution_>, SolverLifecycleListener<Solution_>
Direct Known Subclasses:
EntityIndependentInitializedValueSelector

public class InitializedValueSelector<Solution_> extends AbstractDemandEnabledSelector<Solution_> implements ValueSelector<Solution_>
Prevents creating chains without an anchor.

Filters out every value that is a planning entity for which the PlanningVariable (on which this ValueSelector applies to) is uninitialized.

Mainly used for chained planning variables, but supports other planning variables too.