Have you considered this alternative model?
class VehicleType{} // PickupTruck, TractorTrailer, ...
class Vehicle { // For example the PickupTruck with license plate 123
VehicleType vehicleType;
String licensePlate;
}
class or enum FurnitureType{} // SmallChair, LargeSofa, ...
class
Here's the problem I am trying to solve.
My users provide me a a list of configurations for what a truck can hold. For
example:
PickupTruck:
1xLargeSofa
3xSmallChair
PickupTruck:
1xLargeSofa
1xSmallSofa
1xSmallChair
PickupTruck:
5xSmallChair
TractorTrailer:
2xLargeSofa
4xSmallChair
…
The
On 09-09-13 16:13, Andrew Varner wrote:
Optaplanners,
I'm looking to add some dynamic goodness to ValueRangeProvider. The only way
I see to specify a ValueRangeProvider is via annotation.
I'd like to be able to generate the id and Collection of candidate values
dynamically. Is it
Optaplanners,
I'm looking to add some dynamic goodness to ValueRangeProvider. The only way I
see to specify a ValueRangeProvider is via annotation.
I'd like to be able to generate the id and Collection of candidate values
dynamically. Is it possible to generate the ValueRangeProvider data