/
Artificial Intelligence:  Navigating Polygonal Obstacles Us Artificial Intelligence:  Navigating Polygonal Obstacles Us

Artificial Intelligence: Navigating Polygonal Obstacles Us - PowerPoint Presentation

tatyana-admore
tatyana-admore . @tatyana-admore
Follow
403 views
Uploaded On 2016-06-08

Artificial Intelligence: Navigating Polygonal Obstacles Us - PPT Presentation

Elizabeth City State University Ronald E McNair Post baccalaureate Achievement Program LaShanda Dukes and Justin Deloatch Faculty Mentor Dr Jamiiru Luttamaguzi The project uses artificial intelligence searching techniques ID: 353359

Share:

Link:

Embed:

Download Presentation from below link

Download Presentation The PPT/PDF document "Artificial Intelligence: Navigating Pol..." is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.


Presentation Transcript

Slide1

Artificial Intelligence: Navigating Polygonal Obstacles Using Searching Techniques

Elizabeth City State University

Ronald E. McNair Post baccalaureate Achievement Program

La’Shanda Dukes and Justin Deloatch

Faculty Mentor: Dr. Jamiiru LuttamaguziSlide2

The project uses artificial intelligence searching techniquesto find a path around polygonal obstacles on a plane. Thesolution is based on both non-informed and informedalgorithms. The algorithms are compared and contrasted.Each of these algorithms will work on the problemrepresented in terms of states and transitions betweenthem. The algorithms then find a path to a goal state bychoosing one segment at a time. Java programming will beused to implement the algorithms and present the solutionin a graphical user interface.

AbstractSlide3

Intelligence is the capacity to learn and solve problems.Intelligence is also the ability to solve novel problems, to actrationally, to act like humans, and to acquire knowledge, learnfrom experience. Modern Artificial Intelligence models howideal agents should act. Artificial Intelligence is the science andengineering of making intelligent machines. It is related to thesimilar task of using computers to understand humanintelligence, but AI does not have to confine itself to methodsthat are biologically observable. There are many branches andapplications is Artificial Intelligence such as pattern recognition,

genetic programming, speech recognition, and game playing.

IntroductionSlide4

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.

Pseudocode for Uniformed SearchSlide5

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

Pseudocode for Informed SearchSlide6

The 8-Puzzle ProblemThe 8-puzzle problem is a sliding-tile puzzle wheretiles slide if they are next to a blank tile. Examples of Search AlgorithmsSlide7

Examples of Search Algorithms cont’dConsider 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.

1

3

7

4

6

5

2Slide8

Examples of Search Algorithms cont’dThe 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.Slide9

A robot navigates around an obstacle course from thestart state to the goal state.Statement of the Problem

G

j

SSlide10

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.

MethodologySlide11

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);

}

Methodology ContinuedSlide12

Other states are treated in a similar fashion. The heuristic functionto speed up the search process is in the Coordinate state class andis 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; } Methodology cont’dSlide13

DEMONSTRATIONWe will now give a demonstration of how our project works.Slide14

ResultsSuccess: 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 SearchSlide15

ResultsSuccess: 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 SearchSlide16

ResultsSuccess: Goal found[164, 79]Search path:[16, 22] [24, 67] [42, 83][91, 83] [154, 80][164, 79]The length of the pathis: 191

Best-First SearchSlide17

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.Suggestions of Further ResearchSlide18

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, 1995. Applications and Branches of AI: http://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 http://nptel.iitm.ac.in/  

Introduction to Computer Science using Java by Bradley Kjell, Central Connecticut State University,

http://www.cs.iastate.edu/~honavar/JavaNotes/csjava.html

Principles of Artificial Intelligence, N.J. Nilsson, Springer-Verlag.

BibliographySlide19

 ANY QUESTIONS OR COMMENTS???Slide20

We would like to thank everyone for this opportunity and to givespecial thanks to:Our director: Dr. Cheryl LewisOur faculty mentor: Dr. Jamiiru LuttamaguziProgram Support StaffFellow McNair ScholarsOur parentsSpecial Thanks