Annotation Interface ValueRangeProvider
Provides the planning values that can be used for a
PlanningVariable
.
This is specified on a getter of a java bean property (or directly on a field)
which returns a Collection
or ValueRange
.
A Collection
is implicitly converted to a ValueRange
.
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionUsed byPlanningVariable.valueRangeProviderRefs()
to map aPlanningVariable
to aValueRangeProvider
.
-
Element Details
-
id
String idUsed byPlanningVariable.valueRangeProviderRefs()
to map aPlanningVariable
to aValueRangeProvider
. If not provided, an attempt will be made to find a matchingPlanningVariable
without a ref.- Returns:
- if provided, must be unique across a
SolverFactory
- Default:
- ""
-