CSE331 Lecture 13

CSE331 Lecture 13 - s is connected to w Lemma 2: If s is...

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

View Full Document Right Arrow Icon
Lecture 13 CSE 331 Sep 28, 2011
Background image of page 1

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

View Full DocumentRight Arrow Icon
Online Office Hour Tonight @9:30p
Background image of page 2
Computing Connected Component Start with R = {s} While exists (u,v) edge v not in R and u in R Add v to R Output R Explore( s )
Background image of page 3

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

View Full DocumentRight Arrow Icon
Explore( s ) = Connected Comp. ( s ) Lemma 1: If w is in R then
Background image of page 4
Background image of page 5
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: s is connected to w Lemma 2: If s is connected to w then w is in R Proof by induction on |R| Proof by induction on |R| Todays agenda Proof of Lemma 2 Depth First Search Computing all connected components...
View Full Document

Page1 / 5

CSE331 Lecture 13 - s is connected to w Lemma 2: If s is...

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