Artificial Intelligence: A Modern Approach
Artificial Intelligence: A Modern Approach
3rd Edition
ISBN: 9780136042594
Author: Stuart Russell, Peter Norvig
Publisher: Prentice Hall
Question
Book Icon
Chapter 3, Problem 13E
Program Plan Intro

Graph search algorithms:

  • The graph search algorithms are used to find a particular node of a graph easily by traversing through its nodes.
  • There are two type of graph searching algorithms are available. That are, depth-first search algorithm and breadth first search algorithm.
  • The depth-first search has a basic level which is uniformed search where, the algorithm searches in a path until it reaches the end of the graph. After the reaching the end, the search starts at the end and backtracks to the start node and tries a different path.
  • The breadth-first search algorithms perform searches by exploring one layer of graph at a time. Here the search starts with one level away from the start node, followed by depth level two, followed by depth level three and so on until the entire graph is traversed.

Blurred answer
Students have asked these similar questions
3. You are given a rectangular grid, where each cell corresponds to a land or sea area. If two cells of land are adjacent to each other vertically, horizontally, or diagonally on the you can walk from one to the other. Two land areas belong to the same island if and only if map, then there is a path from one to the other. Describe a graph algorithm that returns the number of islands in the map and analyze runtime in terms of the number of cells n.
5. Icosian Game A century after Euler's discovery (see Problem 4), another famous puzzle-this one invented by the renowned Irish mathematician Sir William Hamilton (1805–1865)-was presented to the world under the name of the Icosian Game. The game's board was a circular wooden board on which the following graph was carved: Find a Hamiltonian circuit-a path that visits all the graph's vertices exactly once before returning to the starting vertex-for this graph.
The Graph Data Structure is made up of nodes and edges. (A Tree Data Structure is a special kind of a Graph Data Structure). A Graph may be represented by an Adjacency Matrix or an Adjacency List. Through this exercise, you should be able to have a better grasp the Adjacency Matrix concept. You are expected to read about the Adjacency Matrix concept as well as the Adjacency List concept. Suppose the vertices A, B, C, D, E, F, G and H of a Graph are mapped to row and column indices(0,1,2,3,4,5,6,and 7) of a matrix (i.e. 2-dimensional array) as shown in the following table. Vertex of Graph Index in the 2-D Array Adjacency Matrix Representation of Graph A B 2 F 6. H 7 Suppose further, that the following is an Adjacency Matrix representing the Graph. 3 4 5. 6. 7 0. 1 1 1 1 01 1 01 1. 3 14 1 1 1 6. 1 Exercise: Show/Draw the Graph that is represented by the above Adjacency matrix. Upload the document that contains your result. (Filename: AdjacencyMatrixExercise.pdf) Notes: -The nodes of the…
Knowledge Booster
Background pattern image
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Text book image
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Text book image
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
Text book image
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Text book image
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Text book image
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education