Class CollectionInverseVariableDemand<Solution_>

java.lang.Object
org.optaplanner.core.impl.domain.variable.supply.AbstractVariableDescriptorBasedDemand<Solution_,CollectionInverseVariableSupply>
org.optaplanner.core.impl.domain.variable.inverserelation.CollectionInverseVariableDemand<Solution_>
All Implemented Interfaces:
Demand<CollectionInverseVariableSupply>

public final class CollectionInverseVariableDemand<Solution_> extends AbstractVariableDescriptorBasedDemand<Solution_,CollectionInverseVariableSupply>
  • Constructor Details

  • Method Details

    • createExternalizedSupply

      public CollectionInverseVariableSupply 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