[gecode-users] Fail to compile elementsUnion(*this, IntSetArgs, SetVar, SetVar)

Guido Tack tack at ps.uni-sb.de
Wed Apr 1 08:40:28 CEST 2009


Jeffrey wrote:

> I moved from 2.2.0 to 3.0.2.
>
> When I recompile the program, it pops out error saying that  
> elementsUnion is not find.
>
> I've included set.hh already.
>
> Is the elementsUnion I used to use in 2.2.0 depreciated in 3.0.2? Is  
> there any other function I can use?

The set element constraints are now all called element, and you can  
use them with SOT_UNION, e.g.:
http://www.gecode.org/doc-latest/reference/group__TaskModelSetElement.html

Cheers,
	Guido





More information about the gecode-users mailing list