Hi!

Mauricio Toro wrote:

> Hello all,
>
> How can I port this functions to gecode 2.0.0?
> Does anybody has a clue?
>
> Gecode::eq

Use Gecode::rel instead:
http://www.gecode.org/gecode-doc-latest/group__TaskModelIntRelInt.html
http://www.gecode.org/gecode-doc-latest/group__TaskModelIntRelBool.html

> Gecode::gcc

It's been renamed to count, and the interface has changed:
http://www.gecode.org/gecode-doc-latest/group__TaskModelIntCard.html

> Gecode::distinct
>
> I got this error:
>
>  gecol131/glue.cpp:1428: error: no matching function for call to  
> 'distinct(Gecode::Space*&, Gecode::SetVarArgs&, unsigned int&)'

distinct has been removed as it was buggy. Just use a binary  
decomposition instead.

Cheers,
        Guido


_______________________________________________
Gecode users mailing list
[EMAIL PROTECTED]
https://www.gecode.org/mailman/listinfo/gecode-users

Reply via email to