AI-CSP (Constraint Satisfaction Problem)
AI-CSP (Constraint Satisfaction Problem)
CSP
Constraint satisfaction means solving a problem under certain
constraints or rules.
• Constraint satisfaction is a technique where a problem is
solved when its values satisfy certain constraints or rules
of the problem. Such type of technique leads to a deeper
understanding of the problem structure as well as its
complexity.
CSP
Constraint satisfaction depends on three components, namely:
• X: It is a set of variables.
• D: It is a set of domains where the variables reside. There
is a specific domain for each variable.
• C: It is a set of constraints which are followed by the set of
variables.
Constraint satisfaction problems (CSPs)
• A state-space
• The notion of the solution.
• A state in state-space is defined by assigning values to
some or all variables such as