public interface SelectionFilter<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 scoreDirector,
T selection) |
boolean accept(ScoreDirector 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 Selector
Copyright © 2006–2016 JBoss by Red Hat. All rights reserved.