CSE331 Lecture 13

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

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

Lecture 13 CSE 331 Sep 28, 2011

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

View Full Document
Online Office Hour Tonight @9:30p
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 )

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

View Full Document
Explore( s ) = Connected Comp. ( s ) Lemma 1: If w is in R then
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

## 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
Ask a homework question - tutors are online