[gecode-users] Re: Var indexes-help

Guido Tack tack at ps.uni-sb.de
Thu Feb 1 02:24:27 CET 2007


> 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






More information about the gecode-users mailing list