Lets have the following hypothetical scenario ... a grid with 5x5 and let say 3 figures. We want to define constraint on the positions. In CLP we normally define the constraints with integers, so this is one way of doing it :
... Fig1X #\= 2, Fig1Y #\= 3, ....
i.e. we have separate variable for every X and Y position. Is there a way to define constraint on structured-variable which is built on top of integers. For the sake of example :
.... Fig1 #\= (2,4) ...
The scenario is just for illustration.
I'm interested mainly in how do you handle structured-variables, is there standard practices.