Class PillarDemand<Solution_>
java.lang.Object
org.optaplanner.core.impl.heuristic.selector.move.generic.PillarDemand<Solution_>
- All Implemented Interfaces:
Demand<MemoizingSupply<List<List<Object>>>>
-
Constructor Summary
ConstructorsConstructorDescriptionPillarDemand
(EntitySelector<Solution_> entitySelector, List<GenuineVariableDescriptor<Solution_>> variableDescriptors, SubPillarConfigPolicy subpillarConfigPolicy) -
Method Summary
Modifier and TypeMethodDescriptioncreateExternalizedSupply
(SupplyManager supplyManager) Only called if the domain model doesn't already support the demand (through a shadow variable usually).boolean
int
hashCode()
-
Constructor Details
-
PillarDemand
public PillarDemand(EntitySelector<Solution_> entitySelector, List<GenuineVariableDescriptor<Solution_>> variableDescriptors, SubPillarConfigPolicy subpillarConfigPolicy)
-
-
Method Details
-
createExternalizedSupply
Description copied from interface:Demand
Only called if the domain model doesn't already support the demand (through a shadow variable usually). Equal demands share the sameSupply
.- Specified by:
createExternalizedSupply
in interfaceDemand<Solution_>
- Parameters:
supplyManager
- never null- Returns:
- never null
-
equals
-
hashCode
public int hashCode()
-