Class MovableChainedTrailingValueFilter<Solution_>
java.lang.Object
org.optaplanner.core.impl.heuristic.selector.value.decorator.MovableChainedTrailingValueFilter<Solution_>
- Type Parameters:
Solution_
- the solution type, the class with thePlanningSolution
annotation
- All Implemented Interfaces:
SelectionFilter<Solution_,
Object>
public final class MovableChainedTrailingValueFilter<Solution_>
extends Object
implements SelectionFilter<Solution_,Object>
-
Constructor Summary
ConstructorDescriptionMovableChainedTrailingValueFilter
(GenuineVariableDescriptor<Solution_> variableDescriptor) -
Method Summary
-
Constructor Details
-
MovableChainedTrailingValueFilter
-
-
Method Details
-
accept
- Specified by:
accept
in interfaceSelectionFilter<Solution_,
Object> - Parameters:
scoreDirector
- never null, theScoreDirector
which has theScoreDirector.getWorkingSolution()
to which the selection belongs or applies tovalue
- never null, aPlanningEntity
, a planningValue, aMove
or aSelector
- Returns:
- true if the selection is accepted (for example it is movable), false if the selection will be discarded (for example it is pinned)
-
equals
-
hashCode
public int hashCode()
-