org.drools.planner.core.domain.variable
Class SolutionPropertyPlanningValueRangeDescriptor

java.lang.Object
  extended by org.drools.planner.core.domain.variable.AbstractPlanningValueRangeDescriptor
      extended by org.drools.planner.core.domain.variable.SolutionPropertyPlanningValueRangeDescriptor
All Implemented Interfaces:
PlanningValueRangeDescriptor

public class SolutionPropertyPlanningValueRangeDescriptor
extends AbstractPlanningValueRangeDescriptor


Field Summary
 
Fields inherited from class org.drools.planner.core.domain.variable.AbstractPlanningValueRangeDescriptor
variableDescriptor
 
Constructor Summary
SolutionPropertyPlanningValueRangeDescriptor(PlanningVariableDescriptor variableDescriptor, ValueRangeFromSolutionProperty valueRangeFromSolutionPropertyAnnotation)
           
 
Method Summary
 Collection<?> extractValues(Solution solution, Object planningEntity)
           
 long getProblemScale(Solution solution, Object planningEntity)
           
 boolean isValuesCacheable()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SolutionPropertyPlanningValueRangeDescriptor

public SolutionPropertyPlanningValueRangeDescriptor(PlanningVariableDescriptor variableDescriptor,
                                                    ValueRangeFromSolutionProperty valueRangeFromSolutionPropertyAnnotation)
Method Detail

extractValues

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

getProblemScale

public long getProblemScale(Solution solution,
                            Object planningEntity)

isValuesCacheable

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


Copyright © 2001-2011 JBoss by Red Hat. All Rights Reserved.