[gecode-users] How to write with Gecode a constraint similar to distinct but with absolute value of values : distinct ( |variables|).

Vijay Saraswat vijay at saraswat.org
Sat Oct 25 16:38:19 CEST 2014


Views are described in

http://www.gecode.org/papers/SchulteTack_Advances_2006.pdf
http://www.gecode.org/~schulte/paper.html?id=SchulteTack:CP:2014

It should be possible to define an absolute value view on an integer 
variable, and specify allDifferent on an array of such views. Don't yet 
know enough about the specific syntax in Gecode to help you, but others 
on this list will...

On 10/25/14, 10:00 AM, Bouchene Sabrina wrote:
> Hi,
>
>
> Please, can you explain me what do you mean by using view on integer 
> variables to write the folowing constraint : distinct(*this, |/l /|) ?.
>
> thank you in advance.
>
> Best regards.
>
>
>
> _______________________________________________
> Gecode users mailing list
> users at gecode.org
> https://www.gecode.org/mailman/listinfo/gecode-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gecode.org/pipermail/users/attachments/20141025/de95c479/attachment.html>


More information about the users mailing list