Lecture15

Lecture15 - Union-find This is the equivalent to finding...

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

View Full Document Right Arrow Icon
IE 495 Lecture 15 October 19, 2000
Background image of page 1

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

View Full DocumentRight Arrow Icon
Reading for This Lecture Primary Horowitz and Sahni, Chapter 4 Kozen, Lecture 3 Secondary Miller and Boxer, Chapter 12 (up to page 286)
Background image of page 2
Baruvka's Algorithm At each step, select all edges that connect some component of the graph to it's nearest neighbor. Add all these edges to the tree simultaneously. Why does this work? Sequential Implementation
Background image of page 3

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

View Full DocumentRight Arrow Icon
Component Labeling Given a graph G = (V, E). Component labeling is numbering each vertex according to which component it belongs to. Sequential Component Labeling Algorithms Breadth-first search
Background image of page 4
Background image of page 5

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

View Full DocumentRight Arrow Icon
Background image of page 6
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Union-find This is the equivalent to finding the equivalence clases in a set. Parallel Component Labeling Algorithm Analysis Parallelizing Baruvka's Algorithm Assume CRCW (minimum number written) Assume |E| + |V| processors Algorithm Initialization Find minimum edge adjacent to each node and mark them. Iterate Perform parallel component labeling. Find minimum edge connecting each node to another component. Find overall minimum edge connecting each component to another. Add all these edges into the graph...
View Full Document

Page1 / 6

Lecture15 - Union-find This is the equivalent to finding...

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

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