Sébastien Mouthuy wrote:
I have a class with an IntVarArgs as instance variable, but its
size is
unknown at creation of my class. How can I safely set the size of my
IntVarArgs in a function that is not my constructor.
To complement Christian's email, the appropriate data structure for
storing variables is probably an IntVarArray here. In the next
version of Gecode, these will allow dynamic resizing. If you want to
use that now, I could send you a patch, it's just one file that has
changed.
Cheers,
Guido
--
Guido Tack
Programming Systems Lab, Saarland University, Germany
http://www.ps.uni-sb.de/~tack
_______________________________________________
Gecode users mailing list
[EMAIL PROTECTED]
https://www.gecode.org/mailman/listinfo/gecode-users