Implement constraint satisfaction problem - Sudoku Puzzles

Assignment Help Computer Engineering
Reference no: EM131931076

Artificial Intelligence Assignment

Part I: Questions

1. Write a constraint satisfaction problem specification for a 4 color map problem with colors: pink, green, blue, and red as per the following map:

190_figure.png

2. Given the vehicle assembly example given in slides 7-9, draw the constraint graph.

3. Explain in your own words how conflict-directed backjumping works.

Part II: Programming Assignment

The code package for this assignment on Blackboard contains a partially implemented constraint satisfaction problem class for solving Sudoku puzzles. The sudoku module implements the class Sudoku that is derived from a CSP class (both in module csp_lib). The code and comments explain the data structures that are used and contain a sample instantiation of a Sudoku puzzle. The module also provides two sample puzzles, one that can be solved with constraint satisfaction, the other without.

There is no work to do in the sudoku and csp modules other than to read them and understand how they work. The task in this assignment is to implement AC3 constraint propagation, backtracking search, and a driver. Template functions are provided for AC3 and backtracking_search in modules constraint_prop and backtrack. Both of these operate on a sudoku puzzle and update the current assignments. When calling your backtrack search, use the minimum remaining values heuristic (which is implemented in csp_lib.backtrack_util).

Your driver program should create both the easy and hard sudoku problems and then solve them.

Attachment:- Assignment Files.rar

Reference no: EM131931076

Questions Cloud

Create a workbook of the cost-benefit analysis : Create a workbook that contains the summary of the cost-benefit analysis for in-house - the project team salary will be based on the total cost from the project
Examine the recommendations of the author : Prior to beginning work on this discussion read Chapter 7 and Chapter 8 in Radvanovsky (2013) and Chapter 6 in Sylves (2015).
What businesses should do to mitigate or minimize risks : Develop a 1,400-word summary describing the challenges businesses have in securing data in today's technological environment and what businesses should do to.
How employee empowerment and decision-making autonomy impact : Discuss how employee empowerment and decision-making autonomy impact morale. Explain, using examples, the impact of individual perception on morale.
Implement constraint satisfaction problem - Sudoku Puzzles : CS 550 - Artificial Intelligence Assignment contains a partially implemented constraint satisfaction problem class for solving Sudoku puzzles
How the concepts help align the organization values : Discuss at least two concepts from class that are elements of a marketing plan and are important tools to your entrepreneurial business' success.
Healthcare system and reduced doctors compensation : In Canada, the government nationalized the healthcare system and reduced doctors compensation. Is this a form of post- investment hold-up?
Analyze the competing demands of your chosen dhs ssa : Analyze the recognition of real and perceived threats and the management of risk to your chosen DHS SSA.
Describe in detail what organization attempted to implement : Describe in detail what the organization attempted to implement and the impact this failure caused to the various stakeholders in the scenario.

Reviews

len1931076

4/6/2018 5:06:38 AM

Detailed Question: My assignment prompt is listed in AO4.pdf file, I just need help on Part II which is the coding assignment. Thank you! To turn in: Submit driver.py, backtrack.py, constraint_prop.py and any other routines that you create. As always, turn in a print out and electronic versions. Your print out should show the initial sudoku states for each puzzle as well as the result of AC3 constraint propagation and if needed, backtrack search.

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd