Package org.optaplanner.core.api.domain.variable
Domain annotations and support classes for a planning variable.
-
Interface Summary Interface Description AbstractVariableListener<Solution_,Entity_> Changes shadow variables when a genuine planning variable changes.CustomShadowVariable.NullVariableListener Workaround for annotation limitation inCustomShadowVariable.variableListenerClass()
.PlanningVariable.NullStrengthComparator Workaround for annotation limitation inPlanningVariable.strengthComparatorClass()
.PlanningVariable.NullStrengthWeightFactory Workaround for annotation limitation inPlanningVariable.strengthWeightFactoryClass()
.PlanningVariableReference.NullEntityClass Workaround for annotation limitation inPlanningVariableReference.entityClass()
.VariableListener<Solution_,Entity_> A listener sourced on a basicPlanningVariable
. -
Enum Summary Enum Description PlanningVariableGraphType -
Annotation Types Summary Annotation Type Description AnchorShadowVariable Specifies that a bean property (or a field) is the anchor of a chainedPlanningVariable
, which implies it's a shadow variable.CustomShadowVariable Specifies that a bean property (or a field) is a custom shadow of 1 or morePlanningVariable
's.IndexShadowVariable Specifies that a bean property (or a field) is an index of this planning value in another entity'sPlanningListVariable
.InverseRelationShadowVariable Specifies that a bean property (or a field) is the inverse of aPlanningVariable
, which implies it's a shadow variable.PlanningListVariable Specifies that a bean property (or a field) can be changed and should be optimized by the optimization algorithms.PlanningVariable Specifies that a bean property (or a field) can be changed and should be optimized by the optimization algorithms.PlanningVariableReference A reference to a genuinePlanningVariable
or a shadow variable.