Class EntityVariableUpdaterLookup<Solution_>
java.lang.Object
ai.timefold.solver.core.impl.domain.variable.declarative.EntityVariableUpdaterLookup<Solution_>
-
Method Summary
Modifier and TypeMethodDescriptioncomputeUpdatersForVariableOnEntity(VariableMetaModel<Solution_, ?, ?> variableMetaModel, Object entity, Supplier<List<VariableUpdaterInfo<Solution_>>> updatersSupplier) static <Solution_>
EntityVariableUpdaterLookup<Solution_>static <Solution_>
EntityVariableUpdaterLookup<Solution_>intstatic <Solution_>
EntityVariableUpdaterLookup<Solution_>groupedEntityDependentLookup(Function<VariableMetaModel<Solution_, ?, ?>, @Nullable Function<Object, @Nullable Object>> variableToAlignmentKeyMapper)
-
Method Details
-
entityIndependentLookup
-
entityDependentLookup
-
groupedEntityDependentLookup
public static <Solution_> EntityVariableUpdaterLookup<Solution_> groupedEntityDependentLookup(Function<VariableMetaModel<Solution_, ?, ?>, @Nullable Function<Object, @Nullable Object>> variableToAlignmentKeyMapper) -
computeUpdatersForVariableOnEntity
public List<VariableUpdaterInfo<Solution_>> computeUpdatersForVariableOnEntity(VariableMetaModel<Solution_, ?, ?> variableMetaModel, Object entity, Supplier<List<VariableUpdaterInfo<Solution_>>> updatersSupplier) -
getNextId
public int getNextId()
-