Interface Demand<Solution_,Supply_ extends Supply>
- 
- Type Parameters:
- Supply_- Subclass of- Supply
 - All Known Implementing Classes:
- AnchorVariableDemand,- CollectionInverseVariableDemand,- CustomShadowVariableDemand,- IndexVariableDemand,- SingletonInverseVariableDemand,- SingletonListInverseVariableDemand
 
 public interface Demand<Solution_,Supply_ extends Supply>A subsystem submits a demand for aSupply. Implementations must overwriteObject.equals(Object)andObject.hashCode().- See Also:
- Supply,- SupplyManager
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description Supply_createExternalizedSupply(InnerScoreDirector<Solution_,?> scoreDirector)Only called if the domain model doesn't already support the demand (through a shadow variable usually).
 
- 
- 
- 
Method Detail- 
createExternalizedSupplySupply_ createExternalizedSupply(InnerScoreDirector<Solution_,?> scoreDirector) Only called if the domain model doesn't already support the demand (through a shadow variable usually). Equal demands share the sameSupply.- Parameters:
- scoreDirector- never null
- Returns:
- never null
 
 
- 
 
-