clpq Questions
1
Solved
Consider the following square:
You are given three constraints:
All rectangles (A, B, C, D and E) have the same area;
Their geometric layout constitutes a square; and
The height of A is 2.
Now...
Coletta asked 27/7, 2020 at 0:44
4
I read a brief article about Prolog and Logic Programming. I'm curious if Logic Programs can do algebra. Like would you be able to ask what the Variable of X is in the equation 5+X = 7 and get an a...
Sumikosumma asked 3/12, 2012 at 19:19
2
Solved
I'm playing around with constraints in (swi) prolog using the clpfd library.
I'm trying to identify when one set of constraints encapsulates or subsumes the other, e.g. X<4 encapsulates X<7 ...
Lothaire asked 3/11, 2010 at 17:36
1
© 2022 - 2024 — McMap. All rights reserved.