Solution_
- the solution type, the class with the PlanningSolution
annotationpublic class PinEntityFilter<Solution_> extends Object implements SelectionFilter<Solution_,Object>
PlanningPin
annotated boolean member.Constructor and Description |
---|
PinEntityFilter(MemberAccessor memberAccessor) |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(ScoreDirector<Solution_> scoreDirector,
Object entity) |
public PinEntityFilter(MemberAccessor memberAccessor)
public boolean accept(ScoreDirector<Solution_> scoreDirector, Object entity)
accept
in interface SelectionFilter<Solution_,Object>
scoreDirector
- never null, the ScoreDirector
which has the ScoreDirector.getWorkingSolution()
to which the selection belongs or applies toentity
- never null, a PlanningEntity
, a planningValue, a Move
or a Selector
Copyright © 2006–2020 JBoss by Red Hat. All rights reserved.