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

Suggested modification to Tree-CSP-Solver (aima3e Figure 6.11) #33

Open
ctjoreilly opened this issue Aug 4, 2016 · 0 comments
Open

Comments

@ctjoreilly
Copy link
Collaborator

Change the X argument to be csp instead, in the call to TOPOLOGICALSORT, giving :

TOPOLOGICALSORT(csp, root)

As at a minimum information about the constraints the variables are involved with are required to perform the sort.

In addition, add csp as an argument to MAKE-ARC-CONSISTENT, i.e.:

MAKE-ARC-CONSISTENT(csp, PARENT(Xj), Xj)

As again, its necessary to have all of the information on the CSP to determine consistency.

Manthan-R-Sheth added a commit to Manthan-R-Sheth/aima-pseudocode that referenced this issue Mar 11, 2017
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

No branches or pull requests

1 participant