Uses of Interface
ai.timefold.solver.core.preview.api.domain.metamodel.PlanningVariableMetaModel
Packages that use PlanningVariableMetaModel
Package
Description
This package contains classes and interfaces that represent the metamodel of the domain.
This package contains classes and interfaces that are used to write moves to explore the neighborhood of a
PlanningSolution.-
Uses of PlanningVariableMetaModel in ai.timefold.solver.core.impl.domain.solution.descriptor
Classes in ai.timefold.solver.core.impl.domain.solution.descriptor that implement PlanningVariableMetaModelModifier and TypeClassDescriptionfinal recordDefaultPlanningVariableMetaModel<Solution_,Entity_, Value_> Methods in ai.timefold.solver.core.impl.domain.solution.descriptor that return PlanningVariableMetaModelModifier and TypeMethodDescription<Value_> PlanningVariableMetaModel<Solution_,Entity_, Value_> DefaultGenuineEntityMetaModel.basicVariable()<Value_> PlanningVariableMetaModel<Solution_,Entity_, Value_> DefaultGenuineEntityMetaModel.basicVariable(String variableName) <Value_> PlanningVariableMetaModel<Solution_,Entity_, Value_> DefaultGenuineEntityMetaModel.basicVariable(String variableName, Class<Value_> variableClass) -
Uses of PlanningVariableMetaModel in ai.timefold.solver.core.impl.domain.variable.descriptor
Methods in ai.timefold.solver.core.impl.domain.variable.descriptor that return PlanningVariableMetaModelModifier and TypeMethodDescription<Entity_,Value_>
PlanningVariableMetaModel<Solution_,Entity_, Value_> BasicVariableDescriptor.getVariableMetaModel() -
Uses of PlanningVariableMetaModel in ai.timefold.solver.core.impl.move
Methods in ai.timefold.solver.core.impl.move with parameters of type PlanningVariableMetaModelModifier and TypeMethodDescriptionfinal <Entity_,Value_>
voidMoveDirector.changeVariable(PlanningVariableMetaModel<Solution_, Entity_, Value_> variableMetaModel, Entity_ entity, @Nullable Value_ newValue) final <Entity_,Value_>
Value_MoveDirector.getValue(PlanningVariableMetaModel<Solution_, Entity_, Value_> variableMetaModel, Entity_ entity) protected static <Solution_>
GenuineVariableDescriptor<Solution_>AbstractMove.getVariableDescriptor(PlanningVariableMetaModel<Solution_, ?, ?> variableMetaModel) <Entity_,Value_>
booleanMoveDirector.isPinned(PlanningVariableMetaModel<Solution_, Entity_, Value_> variableMetaModel, @Nullable Entity_ entity) -
Uses of PlanningVariableMetaModel in ai.timefold.solver.core.impl.neighborhood.stream
Methods in ai.timefold.solver.core.impl.neighborhood.stream that return PlanningVariableMetaModelModifier and TypeMethodDescriptionDefaultMoveStreamFactory.NodeSharingSupportFunctions.variableMetaModel()Returns the value of thevariableMetaModelrecord component.Methods in ai.timefold.solver.core.impl.neighborhood.stream with parameters of type PlanningVariableMetaModelModifier and TypeMethodDescription<Entity_,Value_>
DefaultMoveStreamFactory.NodeSharingSupportFunctions<Solution_,Entity_, Value_> DefaultMoveStreamFactory.getNodeSharingSupportFunctions(PlanningVariableMetaModel<Solution_, Entity_, Value_> variableMetaModel) Constructors in ai.timefold.solver.core.impl.neighborhood.stream with parameters of type PlanningVariableMetaModelModifierConstructorDescriptionNodeSharingSupportFunctions(PlanningVariableMetaModel<Solution_, Entity_, Value_> variableMetaModel) NodeSharingSupportFunctions(PlanningVariableMetaModel<Solution_, Entity_, Value_> variableMetaModel, BiNeighborhoodsPredicate<Solution_, Entity_, Value_> differentValueFilter, BiNeighborhoodsPredicate<Solution_, Entity_, Value_> valueInRangeFilter) Creates an instance of aNodeSharingSupportFunctionsrecord class. -
Uses of PlanningVariableMetaModel in ai.timefold.solver.core.preview.api.domain.metamodel
Methods in ai.timefold.solver.core.preview.api.domain.metamodel that return PlanningVariableMetaModelModifier and TypeMethodDescription<Value_> PlanningVariableMetaModel<Solution_,Entity_, Value_> GenuineEntityMetaModel.basicVariable()As defined byGenuineEntityMetaModel.genuineVariable(), but only succeeds if the variable is abasic planning variable.<Value_> PlanningVariableMetaModel<Solution_,Entity_, Value_> GenuineEntityMetaModel.basicVariable(String variableName) As defined byPlanningEntityMetaModel.variable(String), but only succeeds if the variable is abasic planning variable.<Value_> PlanningVariableMetaModel<Solution_,Entity_, Value_> GenuineEntityMetaModel.basicVariable(String variableName, Class<Value_> variableClass) As defined byGenuineEntityMetaModel.basicVariable(String), but only succeeds if the variable is of a given type. -
Uses of PlanningVariableMetaModel in ai.timefold.solver.core.preview.api.move
Methods in ai.timefold.solver.core.preview.api.move with parameters of type PlanningVariableMetaModelModifier and TypeMethodDescription<Entity_,Value_>
voidMutableSolutionView.changeVariable(PlanningVariableMetaModel<Solution_, Entity_, Value_> variableMetaModel, Entity_ entity, @Nullable Value_ newValue) Changes the value of abasic planning variableof a given entity.<Entity_,Value_>
@Nullable Value_SolutionView.getValue(PlanningVariableMetaModel<Solution_, Entity_, Value_> variableMetaModel, Entity_ entity) Reads the value of abasic planning variableof a given entity.<Entity_,Value_>
booleanSolutionView.isPinned(PlanningVariableMetaModel<Solution_, Entity_, Value_> variableMetaModel, @Nullable Entity_ entity) Checks if aPlanningEntitywith a basicPlanningVariableis pinned. -
Uses of PlanningVariableMetaModel in ai.timefold.solver.core.preview.api.move.builtin
Fields in ai.timefold.solver.core.preview.api.move.builtin declared as PlanningVariableMetaModelModifier and TypeFieldDescriptionprotected final PlanningVariableMetaModel<Solution_,Entity_, Value_> ChangeMove.variableMetaModelMethods in ai.timefold.solver.core.preview.api.move.builtin that return types with arguments of type PlanningVariableMetaModelMethods in ai.timefold.solver.core.preview.api.move.builtin with parameters of type PlanningVariableMetaModelModifier and TypeMethodDescriptionstatic <Solution_,Entity_, Value_>
Move<Solution_>Moves.change(PlanningVariableMetaModel<Solution_, Entity_, Value_> variableMetaModel, Entity_ entity, @Nullable Value_ value) Creates a move that changes a basic planning variable's value on a given entity.static <Solution_,Entity_, Value_>
Move<Solution_>Moves.swap(PlanningVariableMetaModel<Solution_, Entity_, Value_> variableMetaModel, Entity_ leftEntity, Entity_ rightEntity) Creates a move that swaps the value of a single planning variable between two entities.Method parameters in ai.timefold.solver.core.preview.api.move.builtin with type arguments of type PlanningVariableMetaModelModifier and TypeMethodDescriptionstatic <Solution_,Entity_>
Move<Solution_>Moves.swap(List<PlanningVariableMetaModel<Solution_, Entity_, Object>> variableMetaModelList, Entity_ leftEntity, Entity_ rightEntity) Creates a move that swaps the values of multiple planning variables between two entities.Constructors in ai.timefold.solver.core.preview.api.move.builtin with parameters of type PlanningVariableMetaModelModifierConstructorDescriptionprotectedChangeMove(PlanningVariableMetaModel<Solution_, Entity_, Value_> variableMetaModel, Entity_ entity, @Nullable Value_ toPlanningValue) ChangeMoveProvider(PlanningVariableMetaModel<Solution_, Entity_, Value_> variableMetaModel) Constructor parameters in ai.timefold.solver.core.preview.api.move.builtin with type arguments of type PlanningVariableMetaModelModifierConstructorDescriptionprotectedSwapMove(List<PlanningVariableMetaModel<Solution_, Entity_, Object>> variableMetaModelList, Entity_ leftEntity, Entity_ rightEntity) SwapMoveProvider(List<PlanningVariableMetaModel<Solution_, Entity_, Object>> variableMetaModelList)