Class AbstractVariableDescriptorBasedDemand<Solution_,Supply_ extends Supply>
java.lang.Object
ai.timefold.solver.core.impl.domain.variable.supply.AbstractVariableDescriptorBasedDemand<Solution_,Supply_>
- Type Parameters:
Solution_-Supply_-
- All Implemented Interfaces:
Demand<Supply_>
- Direct Known Subclasses:
AnchorVariableDemand,CollectionInverseVariableDemand,ListVariableStateDemand,SingletonInverseVariableDemand
public abstract class AbstractVariableDescriptorBasedDemand<Solution_,Supply_ extends Supply>
extends Object
implements Demand<Supply_>
Some
Demand implementation classes are defined by their VariableDescriptor and nothing else.
However, they still must not equal (and therefore have the same hashCode())
as other Demand implementation classes defined by the same VariableDescriptor.
This helper abstraction exists so that this logic can be shared across all such Demand implementations.-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractVariableDescriptorBasedDemand(VariableDescriptor<Solution_> variableDescriptor) -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface ai.timefold.solver.core.impl.domain.variable.supply.Demand
createExternalizedSupply