{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

cs240a-cilkbfs - CS240A: ThankstoCharlesE. 1...

Info icon This preview shows pages 1–8. 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
Image of page 1

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

View Full Document Right 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)
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
Image of page 3

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

View Full Document Right 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
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
Image of page 5

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

View Full Document Right 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
Image of page 6
7 Breadth First Search
Image of page 7

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

View Full Document Right Arrow Icon
Image of page 8
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern