12.07.2015 Views

A Practical Introduction to Data Structures and Algorithm Analysis

A Practical Introduction to Data Structures and Algorithm Analysis

A Practical Introduction to Data Structures and Algorithm Analysis

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Sec. 6.2 The Parent Pointer Implementation 213AB C DEAB C D E F G HIJ0 1 2 3 4 5 6 7 8 9FGHIJ(a)0 3 5 25A C FJDAB C D E F G HIJ0 1 2 3 4 5 6 7 8 9B H GIE(b)0 0 5 3 5 25AFJAB C D E F G HIJ0 1 2 3 4 5 6 7 8 9BCGID(c)HE50 0 5 3 5 25FJA B C D E F G H IJ0 1 2 3 4 5 6 7 8 9AGIDBCEH(d)Figure 6.7 An example of equivalence processing. (a) Initial configuration forthe ten nodes of the graph in Figure 6.6. The nodes are placed in<strong>to</strong> ten independentequivalence classes. (b) The result of processing five edges: (A, B), (C, H), (G, F),(D, E), <strong>and</strong> (I, F). (c) The result of processing two more edges: (H, A) <strong>and</strong> (E, G).(d) The result of processing edge (H, E).

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!