|
Currently, Planner only supports a single value for a
@PlanningVariable property. Here's the issue for that: But in your case, I 'd just do it like this: class Recipe extends Solution { List<Inredient> ...; List<Assignment> ...; // of size 5 ... } class Ingredient {...} class Assignment { private int index; // Ingredient 1, 2, 3, 4 or 5? private Ingredient ingredient; @PlanningVariable() @ValueRange(...) public Ingredient getIngredient() {...} ... } On 03-06-13 14:21, Justin Case wrote:
|
_______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
