The Top Men Christian Dell, Joe Hall, Alex Reeser, Landon Rogge, Jason Todd, Jared Whitaker A-mAIze-in.

Slides:



Advertisements
Similar presentations
Solving problems by searching
Advertisements

Heuristic Search techniques
Artificial Intelligence CS482, CS682, MW 1 – 2:15, SEM 201, MS 227 Prerequisites: 302, 365 Instructor: Sushil Louis,
Traveling Salesperson Problem
Michael Alves, Patrick Dugan, Robert Daniels, Carlos Vicuna
Depth-First Search1 Part-H2 Depth-First Search DB A C E.
Artificial Intelligence Problem Solving Eriq Muhammad Adams
ICS-171:Notes 4: 1 Notes 4: Optimal Search ICS 171 Summer 1999.
Problem Solving Agents A problem solving agent is one which decides what actions and states to consider in completing a goal Examples: Finding the shortest.
Solving Problems by Searching Currently at Chapter 3 in the book Will finish today/Monday, Chapter 4 next.
Graphs Chapter 12. Chapter Objectives  To become familiar with graph terminology and the different types of graphs  To study a Graph ADT and different.
Solving Problem by Searching Chapter 3. Outline Problem-solving agents Problem formulation Example problems Basic search algorithms – blind search Heuristic.
UNINFORMED SEARCH Problem - solving agents Example : Romania  On holiday in Romania ; currently in Arad.  Flight leaves tomorrow from Bucharest.
Rumor Routing in Sensor Networks David Braginsky and Deborah Estrin Presented By Tu Tran 1.
Best-First Search: Agendas
14 Jan 2004CS Blind Search1 Solving problems by searching Chapter 3.
CHAPTER 3 CMPT Blind Search 1 Search and Sequential Action.
Quad Trees By JJ Shepherd. Introduction So far we’ve only used binary trees to solve problems – Sort data – Search data – Confuse students Trees are not.
ITEC200 – Week 12 Graphs. 2 Chapter Objectives To become familiar with graph terminology and the different types of graphs To study.
PZ12A Programming Language design and Implementation -4th Edition Copyright©Prentice Hall, PZ12A - Guarded commands Programming Language Design.
Technical Advisor : Mr. Roni Stern Academic Advisor : Dr. Meir Kalech Team members :  Amit Ofer  Liron Katav Project Homepage :
CS 460 Midterm solutions. 1.b 2.PEAS : Performance Measure, Environment, Actuators, Sensors 3.c 4.a. Environment: non-English language Internet sites.
Games with Chance Other Search Algorithms CPSC 315 – Programming Studio Spring 2008 Project 2, Lecture 3 Adapted from slides of Yoonsuck Choe.
Spanning Trees.
Spanning Trees. 2 Spanning trees Suppose you have a connected undirected graph Connected: every node is reachable from every other node Undirected: edges.
Kevyn Bollinger Eric Gonsalves Ben Henry James Marsland.
Graphs Chapter 12. Chapter 12: Graphs2 Chapter Objectives To become familiar with graph terminology and the different types of graphs To study a Graph.
Spring 2010CS 2251 Graphs Chapter 10. Spring 2010CS 2252 Chapter Objectives To become familiar with graph terminology and the different types of graphs.
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?
CS 206 Introduction to Computer Science II 12 / 10 / 2008 Instructor: Michael Eckmann.
Fall 2007CS 2251 Graphs Chapter 12. Fall 2007CS 2252 Chapter Objectives To become familiar with graph terminology and the different types of graphs To.
Chapter 6 Stacks. Copyright © 2005 Pearson Addison-Wesley. All rights reserved. 6-2 Chapter Objectives Examine stack processing Define a stack abstract.
The Incredible Snake Rony Bershadsky Naama Mayer Michal Gefen Nimrod Talmon.
Solving problems by searching
CSE 473: Artificial Intelligence Spring 2014 Hanna Hajishirzi Problem Spaces and Search slides from Dan Klein, Stuart Russell, Andrew Moore, Dan Weld,
1 Problem Solving and Searching CS 171/271 (Chapter 3) Some text and images in these slides were drawn from Russel & Norvig’s published material.
MIDTERM REVIEW. Intelligent Agents Percept: the agent’s perceptual inputs at any given instant Percept Sequence: the complete history of everything the.
Representing and Using Graphs
Priority Queues and Heaps. October 2004John Edgar2  A queue should implement at least the first two of these operations:  insert – insert item at the.
Search CPSC 386 Artificial Intelligence Ellen Walker Hiram College.
Lecture 3: 18/4/1435 Searching for solutions. Lecturer/ Kawther Abas 363CS – Artificial Intelligence.
Lecture 2: 11/4/1435 Problem Solving Agents Lecturer/ Kawther Abas 363CS – Artificial Intelligence.
Informed Search Reading: Chapter 4.5 HW #1 out today, due Sept 26th.
Informed Search II CIS 391 Fall CIS Intro to AI 2 Outline PART I  Informed = use problem-specific knowledge  Best-first search and its variants.
Graphs Chapter 12. Chapter 12: Graphs2 Chapter Objectives To become familiar with graph terminology and the different types of graphs To study a Graph.
A* Path Finding Ref: A-star tutorial.
NETWORK FLOWS Shruti Aggrawal Preeti Palkar. Requirements 1.Implement the Ford-Fulkerson algorithm for computing network flow in bipartite graphs. 2.For.
Graphs and Paths Data Structures & Problem Solving Using JAVA Second Edition Mark Allen Weiss Chapter 14 © 2002 Addison Wesley.
Solving problems by searching Chapter 3. Types of agents Reflex agent Consider how the world IS Choose action based on current percept Do not consider.
Solving problems by searching
Solving a Maze using Graph Algorithms
Top 50 Data Structures Interview Questions
ECE 448 Lecture 4: Search Intro
Constraint Satisfaction Problems vs. Finite State Problems
Artificial Intelligence Lecture No. 5
Maze Implementation, Analysis and Design to find Shortest Paths
Games with Chance Other Search Algorithms
Finding Heuristics Using Abstraction
CSE 421: Introduction to Algorithms
Problem Solving and Searching
A* Path Finding Ref: A-star tutorial.
Spanning Trees.
Problem Solving and Searching
Searching CLRS, Sections 9.1 – 9.3.
CO Games Development 1 Week 8 Depth-first search, Combinatorial Explosion, Heuristics, Hill-Climbing Gareth Bellaby.
Lecture 3: Environs and Algorithms
Uninformed search Lirong Xia. Uninformed search Lirong Xia.
Russell and Norvig: Chapter 3, Sections 3.1 – 3.3
Midterm Review.
Reading: Chapter 4.5 HW#2 out today, due Oct 5th
Presentation transcript:

The Top Men Christian Dell, Joe Hall, Alex Reeser, Landon Rogge, Jason Todd, Jared Whitaker A-mAIze-in

Abstract Mazes Find a particular location in a maze and discover a path to the location. Use different h(x) with A* to determine best of the code

Implementation Java using awt/swing Select which test maze to use Select the heustric to use Will run the selected mode and output raw data on left

A General PEAS Agent: Maze Traversing Agent Performance: Number of moves it takes to solve the maze or find cheese Environment: Maze Actuators: performMovement function Sensors: examineEnvironment function

Rules A* with various h(x) From a starting point, find a path to another point Cannot walk through walls

Maze Solving Fully Observable: Yes Deterministic: Yes Episodic: Yes Static: Yes Discrete: Yes Multi-agent: No

A* Heuristics Implemented Euclidean Manhattan Number of Walls (Method 1) Number of Walls (Method 2) Last in List (f(x) = 0; udlr) Dijkstra’s (h(x) = 0) Random Numbers (0-15)

Number of Walls (Method 1) Take starting position x1 and y1, take ending position x2 and y2, set wall = 0 Repeat until x1 = x2 and y1 = y2 If x1 > x2, x1 – 1; if x1 y2, y1 – 1; if y1 < y2, y1 + 1; else y1 If a wall exists at the new (x1, y1), wall + 1

S *** X

Number of Walls (Method 2) Take starting position x1 and y1, take ending position x2 and y2, set wall = 0 Repeat until x1 = x2 If x1 > x2, x1 – 1; if x1 y2, y1 – 1; if y1 < y2, y1 + 1; else y1 If a wall exists at the new (x1, y1), wall + 1

*** S X

Last in List Chooses the last member of the closed set (most recently added) Results in a unique order – find the most recent expanded node with adjacent unexpanded nodes and select the top, bottom, left, right node to continue down in that order. Bizzare, efficient results in some cases. Similar to depth first search. Accidental mis-implementation of Dijkstra’s which occurs when f(x) = 0 instead of h(x) = 0.

---*** --- ***---S ***--- ***--- ***--- ***--- ***--- X*** ---

Some Results EuclideanManhattanWalls 1Walls 2Last in List DijkstraRandom (100 Avg)

Some images Maze 1 Maze 1 Solution

Some images Maze 1 Random Maze 1 Wall Method 2

Some images Maze 2 Maze 2 Solution

Some images Maze 2 Last in List Maze 2 Wall Method 2

Some images Maze 3 Maze 3 Solution

Some images Maze 3 Euclidean Maze 3 Wall Method 1

A graph of some sort

Maze Conclusions Random Heuristics are useless in general Dijkstra’s fared even worse than random heuristics? Euclidian/Manhattan performance depended on maze, usually not well, many misleading paths in mazes Number of walls did relatively okay Depth first did well, but likely because of good random positioning of the starting location and the cheese