> Hi!
>
> Thanks for the reply and sorry for the ambigiouty,
> even I find it difficult when I re-read =)
>
> For Var A,B and an integer array C;
> Let B to have the domain of index values i, where A= C[i]
>
> if C(1,2,5,8,1) and A=1, then B could be 0 or 4.

But that is exactly element(C,B,A), isn't it?

-- 
Guido Tack
http://www.ps.uni-sb.de/~tack



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

Reply via email to