Elizabeth City State University Ronald E. McNair Post baccalaureate Achievement Program La’Shanda Dukes and Justin Deloatch Faculty Mentor: Dr. Jamiiru.

Slides:



Advertisements
Similar presentations
Announcements Course TA: Danny Kumar
Advertisements

1 Heuristic Search Chapter 4. 2 Outline Heuristic function Greedy Best-first search Admissible heuristic and A* Properties of A* Algorithm IDA*
Part2 AI as Representation and Search
CS 484 – Artificial Intelligence1 Announcements Department Picnic: today, after class Lab 0 due today Homework 2 due Tuesday, 9/18 Lab 1 due Thursday,
Artificial Intelligence Lecture
Mahgul Gulzai Moomal Umer Rabail Hafeez
CPSC 322 Introduction to Artificial Intelligence October 27, 2004.
Review: Search problem formulation
Artificial Intelligence Chapter 3: Solving Problems by Searching
Uninformed Search Reading: Chapter 3 by today, Chapter by Wednesday, 9/12 Homework #2 will be given out on Wednesday DID YOU TURN IN YOUR SURVEY?
Lecture 3 Informed Search CSE 573 Artificial Intelligence I Henry Kautz Fall 2001.
UNIVERSITY OF SOUTH CAROLINA Department of Computer Science and Engineering CSCE 580 Artificial Intelligence Problem Spaces and Search Fall 2008 Jingsong.
Using Search in Problem Solving
CS 188: Artificial Intelligence Spring 2006 Lecture 2: Queue-Based Search 8/31/2006 Dan Klein – UC Berkeley Many slides over the course adapted from either.
HEURISTIC SEARCH. Luger: Artificial Intelligence, 5 th edition. © Pearson Education Limited, 2005 Portion of the state space for tic-tac-toe.
Solving problems by searching
For Friday Finish chapter 3 Homework: –Chapter 3, exercise 6 –May be done in groups. –Clarification on part d: an “action” must be running the program.
Artificial Intelligence Course outline Introduction Problem solving Generic algorithms Knowledge Representation and Reasoning Expert Systems Uncertainty.
Informed Search Idea: be smart about what paths to try.
Review: Search problem formulation Initial state Actions Transition model Goal state (or goal test) Path cost What is the optimal solution? What is the.
Copyright R. Weber Search in Problem Solving ISYS 370 Dr. R. Weber.
Dr.Abeer Mahmoud ARTIFICIAL INTELLIGENCE (CS 461D) Dr. Abeer Mahmoud Computer science Department Princess Nora University Faculty of Computer & Information.
CS344: Introduction to Artificial Intelligence (associated lab: CS386) Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 5: Monotonicity 13 th Jan, 2011.
Informed State Space Search Department of Computer Science & Engineering Indian Institute of Technology Kharagpur.
Informed (Heuristic) Search
Problem Reduction Search: AND/OR Graphs & Game Trees Department of Computer Science & Engineering Indian Institute of Technology Kharagpur.
Informed Search Strategies Lecture # 8 & 9. Outline 2 Best-first search Greedy best-first search A * search Heuristics.
For Friday Finish reading chapter 4 Homework: –Lisp handout 4.
For Monday Read chapter 4, section 1 No homework..
CS344: Introduction to Artificial Intelligence (associated lab: CS386)
1 Solving problems by searching 171, Class 2 Chapter 3.
Advanced Artificial Intelligence Lecture 2: Search.
Neural Heuristics For Problem Solving: Using ANNs to Develop Heuristics for the 8-Puzzle by Bambridge E. Peterson.
A General Introduction to Artificial Intelligence.
Problem solving by search Department of Computer Science & Engineering Indian Institute of Technology Kharagpur.
For Friday Read chapter 4, sections 1 and 2 Homework –Chapter 3, exercise 7 –May be done in groups.
Artificial Intelligence University Politehnica of Bucharest Adina Magda Florea
Uninformed Search ECE457 Applied Artificial Intelligence Spring 2007 Lecture #2.
CS621: Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 3 - Search.
Goal-based Problem Solving Goal formation Based upon the current situation and performance measures. Result is moving into a desirable state (goal state).
Search (continued) CPSC 386 Artificial Intelligence Ellen Walker Hiram College.
1 CSE 4705 Artificial Intelligence Jinbo Bi Department of Computer Science & Engineering
Artificial Intelligence Lecture No. 6 Dr. Asad Ali Safi ​ Assistant Professor, Department of Computer Science, COMSATS Institute of Information Technology.
Slides by: Eric Ringger, adapted from slides by Stuart Russell of UC Berkeley. CS 312: Algorithm Design & Analysis Lecture #36: Best-first State- space.
Introduction to Artificial Intelligence CS 438 Spring 2008 Today –AIMA, Ch. 3 –Problem Solving Agents State space search –Programming Assignment Thursday.
Ch. 3 – Search Supplemental slides for CSE 327 Prof. Jeff Heflin.
CE 473: Artificial Intelligence Autumn 2011 A* Search Luke Zettlemoyer Based on slides from Dan Klein Multiple slides from Stuart Russell or Andrew Moore.
CHAPTER 2 SEARCH HEURISTIC. QUESTION ???? What is Artificial Intelligence? The study of systems that act rationally What does rational mean? Given its.
Artificial Intelligence Lecture No. 8 Dr. Asad Ali Safi ​ Assistant Professor, Department of Computer Science, COMSATS Institute of Information Technology.
CS621: Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 3: Search, A*
For Monday Read chapter 4 exercise 1 No homework.
Chap 4: Searching Techniques Artificial Intelligence Dr.Hassan Al-Tarawneh.
Chapter 3 Solving problems by searching. Search We will consider the problem of designing goal-based agents in observable, deterministic, discrete, known.
Artificial Intelligence Solving problems by searching.
Dept. Computer Science, Korea Univ. Intelligent Information System Lab A I (Artificial Intelligence) Professor I. J. Chung.
Artificial Intelligence
Chap 4: Searching Techniques Artificial Intelligence Dr.Hassan Al-Tarawneh.
Motion Planning for a Point Robot (2/2)
CSE 4705 Artificial Intelligence
Lecture 1B: Search.
CSE 4705 Artificial Intelligence
CS621: Artificial Intelligence
CPSC 322 Introduction to Artificial Intelligence
Chap 4: Searching Techniques
HW 1: Warmup Missionaries and Cannibals
Informed Search Idea: be smart about what paths to try.
ECE457 Applied Artificial Intelligence Fall 2007 Lecture #2
HW 1: Warmup Missionaries and Cannibals
CS621: Artificial Intelligence
Informed Search Idea: be smart about what paths to try.
Presentation transcript:

Elizabeth City State University Ronald E. McNair Post baccalaureate Achievement Program La’Shanda Dukes and Justin Deloatch Faculty Mentor: Dr. Jamiiru Luttamaguzi

The project uses artificial intelligence searching techniques to find a path around polygonal obstacles on a plane. The solution is based on both non-informed and informed algorithms. The algorithms are compared and contrasted. Each of these algorithms will work on the problem represented in terms of states and transitions between them. The algorithms then find a path to a goal state by choosing one segment at a time. Java programming will be used to implement the algorithms and present the solution in a graphical user interface.

Intelligence is the capacity to learn and solve problems. Intelligence is also the ability to solve novel problems, to act rationally, to act like humans, and to acquire knowledge, learn from experience. Modern Artificial Intelligence models how ideal agents should act. Artificial Intelligence is the science and engineering of making intelligent machines. It is related to the similar task of using computers to understand human intelligence, but AI does not have to confine itself to methods that are biologically observable. There are many branches and applications is Artificial Intelligence such as pattern recognition, genetic programming, speech recognition, and game playing.

 Step 1: Initialize Set OPEN = {s}, CLOSED = {}.  Step 2: Fail If OPEN = {}, Terminate with failure.  Step 3: Select Select a state, n, from OPEN and save n in CLOSED.  Step 4: Terminate If n is in G, terminate with success.  Step 5: Expand Generate the successors of n using operators O. For each successor, m, insert m in OPEN only if m is not in [OPEN or CLOSED].  Step 6: Loop Go to Step 2.

 Step 1: Initialize Set OPEN = {s}, CLOSED = {}, g(s) = 0, f(s) = h(s).  Step 2: Fail If OPEN = {}, Terminate with failure.  Step 3: Select Select the minimum cost state, n, from OPEN. Save n in CLOSED.  Step 4: Terminate If n  G, terminate with success, and return f(n)  Step 5: Expand For each successor, m, of n If m  [OPEN  CLOSED] Set g(m) = g(n) + c(n,m) Set f(m) = g(m) + h(m) Insert m in OPEN If m  [OPEN  CLOSED] Set g(m) = min {g(m), g(n) + C(n,m)} Set f(m) = g(m) + h(m) If f(m) has decreased and m  CLOSED, move m to OPEN  Step 6: Loop Go to step 2

The 8-Puzzle Problem The 8-puzzle problem is a sliding-tile puzzle where tiles slide if they are next to a blank tile.

Consider the graph below with states and transitions between them. The start state is 1 and the goal state is 7. Using the Pseudocode for Uniformed Search Algorithm, with OPEN being a queue and stack, gives results that follow

The implementation uses OPEN as a priority queue. The state with the lowest heuristic value is chosen first from OPEN. Using the Pseudocode for Informed Search Algorithm, gives the results below. These results exhibit a different search path from uninformed search paths. Its cost is shorter or equals the others.

A robot navigates around an obstacle course from the start state to the goal state. G j SS

 The states uses corners, starting points, and endpoints that are encoded into x,y positions.  The shortest path is to go straight to the corner instead of going around it. The shortest path consists of the segments joining corners.  The state space implemented as Coordinate class includes the coordinate position, the goal, and predecessor. This class includes methods to access, the predecessor, test equality, compute the distance from the goal, and to test if the state itself is the goal.

 A class called CoordinateSuccessorFunction has a method called getSuccessors(). This method will take the current state as input and return a list of its successors as an arraylist data structure.  Its header is as follows: public ArrayList getSuccessors(CoordinatecurrentState)  An example of how it works is how to go from the start state to its successors. The if-statement below accomplishes it: if(currentState.equals(cord0)) { //Successors of cord0. list.add(cord1); list.add(cord2); list.add(cord6); list.add(cord7); }

Other states are treated in a similar fashion. The heuristic function to speed up the search process is in the Coordinate state class and is implemented as: public int distFromGoal() { int distance = 0; distance+=Math.sqrt(Math.pow(goal.x-position.x,2)+ Math.pow(goal.y-position.y, 2)); return distance; }

We will now give a demonstration of how our project works.

Success: Goal found [164, 79] Search path: [16, 22] [25, 7] [140, 3] [153, 6] [164, 79] The length of the path is: 218 Breadth-First Search

Success: Goal found [164, 79] Search path: [16, 22] [25, 45] [60, 34] [77, 34] [90, 45] [125,22] [125, 6] [140, 3] [153, 6] [164, 79] The length of the path is: 252 Depth-First Search

Success: Goal found [164, 79] Search path: [16, 22] [24, 67] [42, 83] [91, 83] [154, 80] [164, 79] The length of the path is: 191 Best-First Search

 If the polygons can have curvatures, then a polygonal boundary around such an obstacle can be used on the algorithm.  Assume that the surface on which the polygons are is not flat, but can have valleys and hills.  Allow the obstacles to be in motion. This involves bringing in time as an added feature.

 ICS 171 Lecture Notes: Introduction to Artificial Intelligence, Stephen Bay, University of California, Irvine.  Artificial Intelligence: A Modern Approach, Stuart Russell and Peter Norvig, Prentice Hall,  Applications and Branches of AI: formal.stanford.edu/jmc/whatisai/node3.htmlhttp://www- formal.stanford.edu/jmc/whatisai/node3.html  Artificial Intelligence Lecture Notes, Professor P. Dasgupta, National Programme on Technology Enhanced Learning (NPTEL) Courses, Indian Institute of Technology  Introduction to Computer Science using Java by Bradley Kjell, Central Connecticut State University,  Principles of Artificial Intelligence, N.J. Nilsson, Springer-Verlag.

We would like to thank everyone for this opportunity and to give special thanks to:  Our director: Dr. Cheryl Lewis  Our faculty mentor: Dr. Jamiiru Luttamaguzi  Program Support Staff  Fellow McNair Scholars  Our parents