Terms and Constraints
Different definitions of terms are used, generating different kinds of constraint logic programming: over trees, reals, or finite domains. A kind of constraint that is always present is the equality of terms. Such constraints are necessary because the interpreter adds t1=t2
to the goal whenever a literal P(...t1...)
is replaced with the body of a clause fresh variant whose head is P(...t2...)
.
Read more about this topic: Constraint Logic Programming
Famous quotes containing the words terms and/or constraints:
“Talleyrand said that two things are essential in life: to give good dinners and to keep on fair terms with women. As the years pass and fires cool, it can become unimportant to stay always on fair terms either with women or ones fellows, but a wide and sensitive appreciation of fine flavours can still abide with us, to warm our hearts.”
—M.F.K. Fisher (b. 1908)
“The analogy between the mind and a computer fails for many reasons. The brain is constructed by principles that assure diversity and degeneracy. Unlike a computer, it has no replicative memory. It is historical and value driven. It forms categories by internal criteria and by constraints acting at many scales, not by means of a syntactically constructed program. The world with which the brain interacts is not unequivocally made up of classical categories.”
—Gerald M. Edelman (b. 1928)