[gecode-users] Sets difference

Guido Tack tack at ps.uni-sb.de
Fri Feb 29 18:29:44 CET 2008


Mauricio Toro wrote:
> I made the difference. There was a bug in other part of the code.
> But the problem with the ".." representation is that I am getting
> too many solutions representing the same, such as:
> (1,2..5)
> (1,2,3..5)
> (1,2,3,4,5)
>
> and I just want to get (1,2,3,4,5).

I'm not sure I can follow you.  Does Gecode sometimes output {1,2..5}  
and sometimes {1,2,3..5}?  Or do you get two solutions where a certain  
set has the same value, and you only care about solutions that give  
you "new" sets?

Guido

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2436 bytes
Desc: not available
URL: <http://www.ps.uni-sb.de/pipermail/users/attachments/20080229/c945b7e1/attachment.bin>


More information about the gecode-users mailing list