cs240a-cilkbfs

cs240a-cilkbfs - CS240A:BreadthfirstsearchinCilk+

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

View Full Document Right Arrow Icon
1 CS 240A :  Breadth-first search in Cilk++ Thanks to  Charles E. Leiserson for some of these slides
Background image of page 1

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

View Full DocumentRight Arrow Icon
2 Breadth First Search Level-by-level graph traversal Serially complexity:   (m+n) Θ 1 2 3 4 5 6 7 8 9 10 11 12 16 17 18 19 Graph:  G(E,V) E:  Set of edges (size m) V:  Set of vertices (size n)
Background image of page 2
3 Breadth First Search Level-by-level graph traversal Serially complexity:   (m+n) Θ Level 1 1 2 3 4 5 6 7 8 9 10 11 12 16 17 18 19 1
Background image of page 3

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

View Full DocumentRight Arrow Icon
4 Breadth First Search Level-by-level graph traversal Serially complexity:   (m+n) Θ Level 1 Level 2 1 2 3 4 5 6 7 8 9 10 11 12 16 17 18 19 2 1 5
Background image of page 4
5 Breadth First Search Level-by-level graph traversal Serially complexity:   (m+n) Θ Level 1 2 1 5 Level 2 9 6 3 1 2 3 4 5 6 7 8 9 10 11 12 16 17 18 19 Level 3
Background image of page 5

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

View Full DocumentRight Arrow Icon
6 Breadth First Search Level-by-level graph traversal Serially complexity:   (m+n) Θ Level 1 Level 2 1 2 3 4 5 6 7 8 9 10 11 12 16 17 18 19 16 10 7 4 Level 3 Level 4 2 1 5 9 6 3
Background image of page 6
Image of page 7
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 12/27/2011 for the course CMPSC 240A taught by Professor Gilbert during the Fall '09 term at UCSB.

Page1 / 14

cs240a-cilkbfs - CS240A:BreadthfirstsearchinCilk+

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

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