-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
7_constraint_satisfaction_problems #5
base: master
Are you sure you want to change the base?
Conversation
@@ -0,0 +1,304 @@ | |||
Constraint Satisfaction | |||
============== | |||
- [Constraint Satisfaction](#constraint-satisfaction) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice
- [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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You Can Improve Your Introduction, Remember You Should Provide Information For Someone Who Is New To This Topic as well as informative ones.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Introcudtion updated.
|
||
![Forward checking limits](/images/3.png) | ||
|
||
## N-Queens |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice
|
||
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good Conc.
- 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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please Add References.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For example : Some articles that can be used for further reading, or extra details. Also, you can add your own references.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Refrences completed.
|
||
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pay attention to syntax ->
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
used (https://render.githubusercontent.com) for rendering latex.
# Examples | ||
## Map-Coloring | ||
|
||
![Forward checking limits](/images/1.png) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Check image address.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
path of images changed.
For example: | ||
$[WA : Red, NT : Green, SA : Blue, Q : Red, NSW : Green, V : Red, T : Green]$ | ||
|
||
![Forward checking limits](/images/2.png) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Images are not shown.
- 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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are some syntax problems.
Check your images' paths.
@sararajabzadeh @SepehrAsh