Class SingletonInverseVariableDemand<Solution_>

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

public final class SingletonInverseVariableDemand<Solution_> extends AbstractVariableDescriptorBasedDemand<Solution_,SingletonInverseVariableSupply>
  • Constructor Details

  • Method Details

    • createExternalizedSupply

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