Skip to content
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

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

tandalalam
Copy link

@@ -0,0 +1,304 @@
Constraint Satisfaction
==============
- [Constraint Satisfaction](#constraint-satisfaction)

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

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.

Copy link
Author

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

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

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.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please Add References.

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.

Copy link
Author

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$.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pay attention to syntax -> $X_i$, $D_i$.

Copy link
Author

@tandalalam tandalalam Nov 12, 2021

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)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check image address.

Copy link
Author

@tandalalam tandalalam Nov 12, 2021

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)

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.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants