Class CollectionInverseVariableDemand<Solution_>
java.lang.Object
org.optaplanner.core.impl.domain.variable.supply.AbstractVariableDescriptorBasedDemand<Solution_,CollectionInverseVariableSupply>
org.optaplanner.core.impl.domain.variable.inverserelation.CollectionInverseVariableDemand<Solution_>
- All Implemented Interfaces:
Demand<CollectionInverseVariableSupply>
public final class CollectionInverseVariableDemand<Solution_>
extends AbstractVariableDescriptorBasedDemand<Solution_,CollectionInverseVariableSupply>
To get an instance, demand a
CollectionInverseVariableDemand from InnerScoreDirector.getSupplyManager().-
Field Summary
Fields inherited from class org.optaplanner.core.impl.domain.variable.supply.AbstractVariableDescriptorBasedDemand
variableDescriptor -
Constructor Summary
ConstructorsConstructorDescriptionCollectionInverseVariableDemand(VariableDescriptor<Solution_> sourceVariableDescriptor) -
Method Summary
Modifier and TypeMethodDescriptioncreateExternalizedSupply(SupplyManager supplyManager) Only called if the domain model doesn't already support the demand (through a shadow variable usually).Methods inherited from class org.optaplanner.core.impl.domain.variable.supply.AbstractVariableDescriptorBasedDemand
equals, hashCode, toString
-
Constructor Details
-
CollectionInverseVariableDemand
-
-
Method Details