Interface Demand<Supply_ extends Supply>

Type Parameters:
Supply_ - Subclass of Supply
All Known Implementing Classes:
AbstractVariableDescriptorBasedDemand, AnchorVariableDemand, CollectionInverseVariableDemand, IndexVariableDemand, NearbyDistanceMatrixDemand, PillarDemand, SingletonInverseVariableDemand, SingletonListInverseVariableDemand

public interface Demand<Supply_ extends Supply>
A subsystem submits a demand for a Supply. Implementations must overwrite Object.equals(Object) and Object.hashCode().
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Only called if the domain model doesn't already support the demand (through a shadow variable usually).
  • Method Details

    • createExternalizedSupply

      Supply_ createExternalizedSupply(SupplyManager supplyManager)
      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