Constraint logic programming


Topic history | v1 (current) | created by janarez

Details

Constraint logic programming

| created by janarez | Add resource "CLP(FD) Constraint Logic Programming over Finite Domains"
Title
Constraint logic programming
Description
Constraint logic programming is a form of constraint programming, in which logic programming is extended to include concepts from constraint satisfaction. A constraint logic program is a logic program that contains constraints in the body of clauses. An example of a clause including a constraint is A(X,Y) :- X+Y>0, B(X), C(Y). In this clause, X+Y>0 is a constraint; A(X,Y), B(X), and C(Y) are literals as in regular logic programming. This clause states one condition under which the statement A(X,Y) holds: X+Y is greater than zero and both B(X) and C(Y) are true. As in regular logic programming, programs are queried about the provability of a goal, which may contain constraints in addition to literals. A proof for a goal is composed of clauses whose bodies are satisfiable constraints and literals that can in turn be proved using other clauses.
Link
https://en.wikipedia.org/?curid=4249442

authors

This topic has no history of related authors.

topics

This topic has no history of related topics.