[gecode-users] N-Dimensional array of IntVars

Mikael Zayenz Lagerkvist zayenz at kth.se
Wed Jan 7 08:24:24 CET 2009


Hi,

There is no built-in container representing multidimensional arrays.
To access standard arrays as matrices, there is a wrapper class called
Matrix in MiniModel (see the Sudoku and Magic square examples). You
can also roll your own accessors (see the BIBD example).

Cheers,
Mikael

On Wed, Jan 7, 2009 at 3:52 AM, Malcolm Ryan <malcolmr at cse.unsw.edu.au> wrote:
> What would be the best way to declare a multidimensional array of
> IntVars in Gecode?
>
> Malcolm
>
> _______________________________________________
> Gecode users mailing list
> users at gecode.org
> https://www.gecode.org/mailman/listinfo/gecode-users
>



-- 
Mikael Zayenz Lagerkvist, http://www.ict.kth.se/~zayenz/




More information about the gecode-users mailing list