Open
Conversation
SepehrAsh
reviewed
Nov 5, 2021
| @@ -0,0 +1,304 @@ | |||
| Constraint Satisfaction | |||
| ============== | |||
| - [Constraint Satisfaction](#constraint-satisfaction) | |||
| - [Strong k-Consistency <div id='SKC'/>](#strong-k-consistency-div-idskc) | ||
| - [Using problem structure <div id='PS'/>](#using-problem-structure-div-idps) | ||
| - [Summary](#summary) | ||
| # Introduction |
There was a problem hiding this comment.
You Can Improve Your Introduction, Remember You Should Provide Information For Someone Who Is New To This Topic as well as informative ones.
|
|
||
|  | ||
|
|
||
| ## N-Queens |
|
|
||
| In cases which are almost tree form, there is a minimum cutset which includes a few members. In these cases, we can use *Conditioning method*. In this method, we first assign values to variables of the cutset in different ways. Then we solve the problem for other variables (which form a tree). If we consider $c$ as the size of the cutset, this method includes $d^c$ value assignments and then solving problem for the remaining tree which we know it has $O((n-c)d^2)$ time complexity. Hence, this method has $O(d^c.(n-c)d^2)$ time complexity which is good for small $c$. | ||
|
|
||
| # Summary |
| - Tree-structured problems can be solved in linear time. | ||
| - Custset conditioning can make a general CSP structure to a tree-structured one. It is very efficient for small cutsets. | ||
| - Tree decomposition technique transform the CSP into a tree of subproblems. It is very efficient if tree width of the constraint graph is small. | ||
| - Time complexity of CSP is related to the structure of its constraint graph. No newline at end of file |
There was a problem hiding this comment.
For example : Some articles that can be used for further reading, or extra details. Also, you can add your own references.
SepehrAsh
reviewed
Nov 5, 2021
|
|
||
| In Constraint Satisfaction Problems, we are dealing with special form of search problems. These problems try to find some search algorithms that require new conditions. The conditions are Constraints. | ||
|
|
||
| In CSPs, we have some variables $X_i$ that we should declare some values from domain $D_i$. |
There was a problem hiding this comment.
Pay attention to syntax ->
Author
There was a problem hiding this comment.
used (https://render.githubusercontent.com) for rendering latex.
| # Examples | ||
| ## Map-Coloring | ||
|
|
||
|  |
| For example: | ||
| $[WA : Red, NT : Green, SA : Blue, Q : Red, NSW : Green, V : Red, T : Green]$ | ||
|
|
||
|  |
| - Tree-structured problems can be solved in linear time. | ||
| - Custset conditioning can make a general CSP structure to a tree-structured one. It is very efficient for small cutsets. | ||
| - Tree decomposition technique transform the CSP into a tree of subproblems. It is very efficient if tree width of the constraint graph is small. | ||
| - Time complexity of CSP is related to the structure of its constraint graph. No newline at end of file |
There was a problem hiding this comment.
There are some syntax problems.
Check your images' paths.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
@sararajabzadeh @SepehrAsh