Примери коришћења Constraint logic на Енглеском и њихови преводи на Српски
{-}
-
Colloquial
-
Ecclesiastic
-
Computer
-
Latin
-
Cyrillic
A constraint logic program is a set of clauses of the form.
Adding a constraint to the store is done like in regular constraint logic programming.
Concurrent constraint logic programming chooses only one.
Today most Prolog implementations include one or more libraries for constraint logic programming.
Constraint logic programming was introduced by Jaffar and Lassez in 1987.
The first implementations of constraint logic programming were Prolog III, CLP(R), and CHIP.
Constraint logic programming with real numbers uses real expressions as terms.
The result of evaluating a goal against a constraint logic program is defined if the goal is proved.
A given constraint logic program may be reformulated to improve its efficiency.
Guards require a syntactic extension:a clause of concurrent constraint logic programming is written as H:- G|.
The following constraint logic program represents a toy temporal database of john's history as a teacher.
As an example, X>0 is a constraint, andis included in the last clause of the following constraint logic program.
Formally, the semantics of constraint logic programming is defined in terms of derivations.
The first host languages used were logic programming languages,so the field was initially called constraint logic programming.
A constraint logic program is a logic program that contains constraints in the body of clauses.
A constraint satisfaction problem is typical solved by a constraint logic program having the following structure.
Constraint logic programming combines Horn clause logic programming with constraint solving.
When the guards of several clauses are satisfied,concurrent constraint logic programming makes a committed choice to use only one.
Constraint logic programming is a logic programming extension that includes concepts from constraint satisfaction.
Different definitions of terms are used,generating different kinds of constraint logic programming: over trees, reals, or finite domains.
The concurrent versions of constraint logic programming are aimed at programming concurrent processes rather than solving constraint satisfaction problems.
In constraint logic programming, the goals in the current goal are evaluated sequentially, usually proceeding in a LIFO order in which newer goals are evaluated first.
Guards require a syntactic extension:a clause of concurrent constraint logic programming is written as H:- G| B where G is a constraint called the guard of the clause.
Constraint logic programming with tree terms emulates regular logic programming by storing substitutions as constraints in the constraint store.
A second effect of the difference between the non-concurrent andthe concurrent version is that concurrent constraint logic programming is specifically designed to allow processes to run without terminating.
The semantics of constraint logic programming is parametric not only to the kind of constraints used but also to the method for rewriting the constraint store.
Most notably, this difference affects how the interpreter behaves when more than one clause is applicable:non-concurrent constraint logic programming recursively tries all clauses; concurrent constraint logic programming chooses only one.
Constrained conditional model- Constraint logic programming- is a form of constraint programming, in which logic programming is extended to include concepts from constraint satisfaction.
Formally, constraint logic programs are like regular logic programs, but the body of clauses can contain constraints, in addition to the regular logic programming literals.