[gecode-users] Determining equal set variables

Chris Mears cmears at infotech.monash.edu.au
Wed Jul 15 09:06:04 CEST 2009


Hello all,

I can check if two IntViews are ground and equal like this:

  IntView &x = ...
  IntView &y = ...
  if (x.assigned() && y.assigned() && x.val() == y.val())
    ...

Can I do the same thing for sets?  There doesn't seem to be an
equivalent to "val()" in the SetView class.

Thanks,
Chris




More information about the gecode-users mailing list