Class IndexVariableDemand<Solution_>

java.lang.Object
org.optaplanner.core.impl.domain.variable.supply.AbstractVariableDescriptorBasedDemand<Solution_,IndexVariableSupply>
org.optaplanner.core.impl.domain.variable.index.IndexVariableDemand<Solution_>
All Implemented Interfaces:
Demand<IndexVariableSupply>

public final class IndexVariableDemand<Solution_> extends AbstractVariableDescriptorBasedDemand<Solution_,IndexVariableSupply>
  • Constructor Details

  • Method Details

    • createExternalizedSupply

      public IndexVariableSupply createExternalizedSupply(SupplyManager supplyManager)
      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 same Supply.
      Parameters:
      supplyManager - never null
      Returns:
      never null