org.drools.planner.core.heuristic.selector.entity.decorator
Class NullValueUninitializedEntityFilter
java.lang.Object
org.drools.planner.core.heuristic.selector.entity.decorator.NullValueUninitializedEntityFilter
- All Implemented Interfaces:
- SelectionFilter<Object>
public class NullValueUninitializedEntityFilter
- extends Object
- implements SelectionFilter<Object>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NullValueUninitializedEntityFilter
public NullValueUninitializedEntityFilter(PlanningVariableDescriptor planningVariableDescriptor)
accept
public boolean accept(ScoreDirector scoreDirector,
Object selection)
- Specified by:
accept
in interface SelectionFilter<Object>
- Parameters:
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
to create the probabilityWeight for
- Returns:
- true if the selection is accepted, false if the selection should be discarded
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.