Guido Tack <[email protected]> writes:

> No, I just didn't see why it's necessary to have the methods since you can do
>
> SetVarArray x(home,n);
> for (int i=n; i--;)
>   x[i] = SetVar(home,...)

(lightbulb appears over my head) damn... I didn't realize you could do
that! thanks!

but, regardless, I think the APIs ought to be as uniform as possible
(principle of least surprise).  thanks for adding this in trunk.

--Denys

_______________________________________________
Gecode users mailing list
[email protected]
https://www.gecode.org/mailman/listinfo/gecode-users

Reply via email to