[gecode-users] Creating an empty IntSet?

Mikael Zayenz Lagerkvist zayenz at gmail.com
Wed Nov 7 07:51:13 CET 2007


On 11/6/07, Malcolm Ryan <malcolmr at cse.unsw.edu.au> wrote:
> It would be good if an IntSet had accessor methods to see what
> elements are in it (if any). At the moment they are totally opaque.

This is an oversight from us. In C++, we have the classes IntSetRanges
and IntSetValues, which are iterators over the ranges and the values
of an IntSet.

For the next release of Gecode/J we should add these.

Cheers,
Mikael

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




More information about the gecode-users mailing list