Interface PinningFilter<Solution_,Entity_>
- Type Parameters:
Solution_
- the solution type, the class with thePlanningSolution
annotationEntity_
- the entity type, the class with thePlanningEntity
annotation
- All Known Subinterfaces:
PlanningEntity.NullPinningFilter
public interface PinningFilter<Solution_,Entity_>
Decides on accepting or discarding a
PlanningEntity
.
A pinned PlanningEntity
's planning variables are never changed.-
Method Summary
-
Method Details
-
accept
- Parameters:
solution
- working solution to which the entity belongsentity
- never null, aPlanningEntity
- Returns:
- true if the entity it is pinned, false if the entity is movable.
-