Lecture15

Lecture15 - Algorithms in Systems Engineering IE170 Lecture...

Info iconThis preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon
Algorithms in Systems Engineering IE170 Lecture 15 Dr. Ted Ralphs
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
IE170 Lecture 15 1 References for Today’s Lecture Required reading CLRS Chapter 22 References R. Sedgewick, Algorithms in C++ (Third Edition), 1998.
Background image of page 2
IE170 Lecture 15 2 Searching a Graph In the last lecture, we introduced a method of searching a graph using a technique called depth-first search (DFS). Graph search is a generalization of this method that is used to study the structure of a graph. We have already used graph search on several occasions. In the next few lectures, we will consider several methods of searching a graph. Each method will reveal something different about the structure of the graph. Many, many algorithms are based on this general framework. Finding a (shortest) path between two vertices in a graph . Determining whether a graph has a cycle . Determining a minimal set of edges that connect all the vertices . Determining whether there is a single edge/vertex whose removal disconnects the graph .
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
IE170 Lecture 15 3 General Graph Search Graph search consists of systematically processing the vertices of a graph to discover some property of the graph. To search a single component: Choose a start vertex and add it to the list of unprocessed vertices. Repeat until no vertices remain on the list. * Choose a vertex v from the list of unprocessed vertices .
Background image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 11

Lecture15 - Algorithms in Systems Engineering IE170 Lecture...

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online