[gecode-users] Porting a library from gecode 1.3.1 to gecode 2.0.0
Guido Tack
tack at ps.uni-sb.de
Fri Jan 4 17:32:23 CET 2008
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
More information about the gecode-users
mailing list