Assignment 1
CS 482/682: Artificial Intelligence
Fall 2013
Max Score: 100
- Learn and demonstrate knowledge of problem solving as informed and uninformed search
Consider a 2D grid world with
rows and
columns. You have to
find a path from
to
, that is, from the bottom
left to the top right. Every time you run this algorithm, assume that
there are randomly sized and located, static, rectangular obstacles
that occupy grid cells in this world. No path can go through any grid
cell occupied by these obstacles.
You will need to implement this world, and test and implement the
following three search algorithms. Please check the class web page for
screenshots of my implementation and running of these algorithms.
- Graph breadth first search
- Greedy search
- A* search
In the context of this 2D grid world, answer the following questions. Provide justification.
- What is the branching factor,
in this state space
- What is a State in this search problem
- What is the maximum number of nodes expanded by breadth first graph search?
- What is your path cost function?
- What is an admissible heuristic on this problem?
- What is the number of nodes expanded by
when there are no obstacles?
Do one or both of
- Implement uniform cost search and local hill climbing search. For hill climbing search, describe your evaluation function.
- Implement the three algorithms above in python in OpenEcslent (http://www.cse.unr.edu/ sushil/openEcslent/)
Assume that this format will be used for all your
assignments throughout the semester unless otherwise
specified.
- At the beginning of class, turn in hardcopy to me with
- Your FULL name and email address
- Source code listing
- A transcript or movie of your compiling and running all your code
on carefully chosen test cases that show off the strengths and
weaknesses of your implementation
- Demo your running code
Ask me (sushil@cse.unr.edu) if you have questions.
Assignment 1
This document was generated using the
LaTeX2HTML translator Version 2008 (1.71)
Copyright © 1993, 1994, 1995, 1996,
Nikos Drakos,
Computer Based Learning Unit, University of Leeds.
Copyright © 1997, 1998, 1999,
Ross Moore,
Mathematics Department, Macquarie University, Sydney.
The command line arguments were:
latex2html -split 1 as
The translation was initiated by Sushil Louis on 2013-09-16
Sushil Louis
2013-09-16