[gecode-users] x \in Set

Guido Tack tack at ps.uni-sb.de
Fri May 16 23:41:56 CEST 2008


Mauricio Toro wrote:
> I need to write this predicate in gecode:
>
> IntVar x;
> SetVar S;
>
> x \in S
>
> How can I do it?

rel(space, s, SRT_SUP, x);

Cheers,
	Guido





More information about the gecode-users mailing list