org.drools.planner.core.heuristic.selector.entity.decorator
Class NullValueUninitializedEntityFilter

java.lang.Object
  extended by org.drools.planner.core.heuristic.selector.entity.decorator.NullValueUninitializedEntityFilter
All Implemented Interfaces:
SelectionFilter<Object>

public class NullValueUninitializedEntityFilter
extends Object
implements SelectionFilter<Object>


Constructor Summary
NullValueUninitializedEntityFilter(PlanningVariableDescriptor planningVariableDescriptor)
           
 
Method Summary
 boolean accept(ScoreDirector scoreDirector, Object selection)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullValueUninitializedEntityFilter

public NullValueUninitializedEntityFilter(PlanningVariableDescriptor planningVariableDescriptor)
Method Detail

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 to
selection - 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.