Введение
В задачах удовлетворения ограничений, логический вывод ограничений – это связь между ограничениями и их следствиями. Набор ограничений влечет за собой ограничение, если каждое решение, удовлетворяющее , также является решением для . Иными словами, если является оценкой переменных в областях действия ограничений в , и все ограничения в удовлетворяются , то также удовлетворяет ограничению .
Some operations on constraints produce a new constraint that is a consequence of them. Constraint composition operates on a pair of binary constraints and with a common variable. The composition of such two constraints is the constraint that is satisfied by every evaluation of the two non shared variables for which there exists a value of the shared variable such that the evaluation of these three variables satisfies the two original constraints and
Constraint projection restricts the effects of a constraint to some of its variables. Given a constraint its projection to a subset of its variables is the constraint that is satisfied by an evaluation if this evaluation can be extended to the other variables in such a way the original constraint is satisfied. Extended composition is similar in principle to composition, but allows for an arbitrary number of possibly non binary constraints; the generated constraint is on an arbitrary subset of the variables of the original constraints. Given constraints and a list of their variables, the extended composition of them is the constraint where an evaluation of satisfies this constraint if it can be extended to the other variables so that are all satisfied.
Некоторые операции над ограничениями приводят к новому ограничению, являющемуся их следствием. Композиция ограничений применяется к паре бинарных ограничений и с общей переменной. Композиция таких двух ограничений – это ограничение , которое удовлетворяется каждой оценке двух переменных, не имеющих общих значений, для которых существует значение общей переменной , такое что оценка этих трех переменных удовлетворяет двум исходным ограничениям и .
Some operations on constraints produce a new constraint that is a consequence of them. Constraint composition operates on a pair of binary constraints and with a common variable. The composition of such two constraints is the constraint that is satisfied by every evaluation of the two non shared variables for which there exists a value of the shared variable such that the evaluation of these three variables satisfies the two original constraints and
Constraint projection restricts the effects of a constraint to some of its variables. Given a constraint its projection to a subset of its variables is the constraint that is satisfied by an evaluation if this evaluation can be extended to the other variables in such a way the original constraint is satisfied. Extended composition is similar in principle to composition, but allows for an arbitrary number of possibly non binary constraints; the generated constraint is on an arbitrary subset of the variables of the original constraints. Given constraints and a list of their variables, the extended composition of them is the constraint where an evaluation of satisfies this constraint if it can be extended to the other variables so that are all satisfied.
Проекция ограничений ограничивает влияние ограничения некоторыми его переменными. Для заданного ограничения , его проекция на подмножество его переменных – это ограничение , которое удовлетворяется оценкой, если эту оценку можно расширить на остальные переменные таким образом, чтобы исходное ограничение было удовлетворено. Расширенная композиция по принципу схожа с композицией, но допускает произвольное количество ограничений, которые могут быть небинарными; полученное ограничение задается на произвольном подмножестве переменных исходных ограничений. Для заданных ограничений и списка их переменных, расширенная композиция этих ограничений – это ограничение , где оценка удовлетворяет этому ограничению, если ее можно расширить на остальные переменные так, чтобы все ограничения были удовлетворены.
Some operations on constraints produce a new constraint that is a consequence of them. Constraint composition operates on a pair of binary constraints and with a common variable. The composition of such two constraints is the constraint that is satisfied by every evaluation of the two non shared variables for which there exists a value of the shared variable such that the evaluation of these three variables satisfies the two original constraints and
Constraint projection restricts the effects of a constraint to some of its variables. Given a constraint its projection to a subset of its variables is the constraint that is satisfied by an evaluation if this evaluation can be extended to the other variables in such a way the original constraint is satisfied. Extended composition is similar in principle to composition, but allows for an arbitrary number of possibly non binary constraints; the generated constraint is on an arbitrary subset of the variables of the original constraints. Given constraints and a list of their variables, the extended composition of them is the constraint where an evaluation of satisfies this constraint if it can be extended to the other variables so that are all satisfied.