Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| OptaPlanner distribution 6.2.0.Final
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.optaplanner.core.impl.domain.variable.supply
Interface Demand<S extends Supply>

Type Parameters:
  `S` -

All Superinterfaces:
  Serializable

All Known Implementing Classes:
  AnchorVariableDemand, CustomShadowVariableDemand, SingletonInverseVariableDemand

    public interface Demand<S extends Supply>

extends Serializable

A subsystem submits a demand for a `Supply`. Implementations must overwrite `#equals(Object)` and `#hashCode()`.

See Also:
  `Supply`, `SupplyManager`

Method Summary
`S` | `createExternalizedSupply(InnerScoreDirector scoreDirector)` Only called if the domain model doesn't already support the demand (through a shadow variable usually).

Method Detail

### createExternalizedSupply

    S createExternalizedSupply(InnerScoreDirector scoreDirector)

  Only called if the domain model doesn't already support the demand (through a shadow variable usually). Equal demands share the same `Supply`.

  Parameters:
    `scoreDirector` - never null
  Returns:
    never null

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| OptaPlanner distribution 6.2.0.Final
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2006-2015 JBoss by Red Hat. All Rights Reserved.