OptaPlanner core 6.0.0.Beta3

org.optaplanner.core.impl.domain.value
Class CompositePlanningValueRangeDescriptor

java.lang.Object
  extended by org.optaplanner.core.impl.domain.value.AbstractPlanningValueRangeDescriptor
      extended by org.optaplanner.core.impl.domain.value.CompositePlanningValueRangeDescriptor
All Implemented Interfaces:
PlanningValueRangeDescriptor

public class CompositePlanningValueRangeDescriptor
extends AbstractPlanningValueRangeDescriptor


Field Summary
protected  boolean entityDepentent
           
protected  List<PlanningValueRangeDescriptor> valueRangeDescriptorList
           
 
Fields inherited from class org.optaplanner.core.impl.domain.value.AbstractPlanningValueRangeDescriptor
excludeUninitializedPlanningEntity, variableDescriptor
 
Constructor Summary
CompositePlanningValueRangeDescriptor(PlanningVariableDescriptor variableDescriptor, List<PlanningValueRangeDescriptor> valueRangeDescriptorList)
           
 
Method Summary
 Collection<?> extractAllValuesWithFiltering(Solution solution)
           
 Collection<?> extractValuesWithFiltering(Solution solution, Object planningEntity)
           
 long getValueCount(Solution solution, Object planningEntity)
           
 boolean isEntityDependent()
           
 boolean isValuesCacheable()
           
 
Methods inherited from class org.optaplanner.core.impl.domain.value.AbstractPlanningValueRangeDescriptor
applyFiltering, getVariableDescriptor, processExcludeUninitializedPlanningEntity, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

valueRangeDescriptorList

protected final List<PlanningValueRangeDescriptor> valueRangeDescriptorList

entityDepentent

protected boolean entityDepentent
Constructor Detail

CompositePlanningValueRangeDescriptor

public CompositePlanningValueRangeDescriptor(PlanningVariableDescriptor variableDescriptor,
                                             List<PlanningValueRangeDescriptor> valueRangeDescriptorList)
Method Detail

isEntityDependent

public boolean isEntityDependent()

extractAllValuesWithFiltering

public Collection<?> extractAllValuesWithFiltering(Solution solution)

extractValuesWithFiltering

public Collection<?> extractValuesWithFiltering(Solution solution,
                                                Object planningEntity)

getValueCount

public long getValueCount(Solution solution,
                          Object planningEntity)

isValuesCacheable

public boolean isValuesCacheable()
Specified by:
isValuesCacheable in interface PlanningValueRangeDescriptor
Overrides:
isValuesCacheable in class AbstractPlanningValueRangeDescriptor

OptaPlanner core 6.0.0.Beta3

Copyright © 2006-2013 JBoss by Red Hat. All Rights Reserved.