Solution_ - the solution type, the class with the PlanningSolution annotationT - the selection typepublic interface SelectionFilter<Solution_,T>
PlanningEntity, a planningValue, a Move or a Selector).
A filtered selection is considered as not selected, it does not count as an unaccepted selection.
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(ScoreDirector<Solution_> scoreDirector,
T selection) |
boolean accept(ScoreDirector<Solution_> scoreDirector, T selection)
scoreDirector - never null, the ScoreDirector
which has the ScoreDirector.getWorkingSolution() to which the selection belongs or applies toselection - never null, a PlanningEntity, a planningValue, a Move or a SelectorCopyright © 2006–2017 JBoss by Red Hat. All rights reserved.