{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

lec0422-Graphs - Announcements MP 7 available EC Due 4/22...

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

View Full Document Right Arrow Icon
Announcements: MP 7 available. EC Due 4/22, 11:59p. Due 5/2, 11:59p. Today: Graphs - Weiss, Chapter 9
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
How do we get from here to there? Need: 1. Common Vocabulary 2. Graph implementation 3. Traversal 4. Algorithms.
Image of page 2
Graph Vocabulary: Incident edges(6) Degree(6) Adjacent vertices(6) Path(G 2 ) Cycle(G 1 ) Simple graph(G) G = (V,E) |V| = n |E| = m G 1 G 2 G 3
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
Graph Vocabulary: Subgraph(G) – G’ = (V’, E’), V’__ V, E’ ___ E, and (u,v) ___ E’ implies u___V’ and v ___ V’. Complete subgraph(G 2 ) – Connected component(G) – Acyclic subgraph(G 2 ) – Spanning tree(G 1 ) – G = (V,E) |V| = n |E| = m G 1 G 2 G 3
Image of page 4
Graphs: theory that will help us in analysis How many edges? At least: connected – not connected - At most: simple - not simple - Relationship to degree sum: X U V W Z Y a c b e d f g h deg( v ) = v V G = (V,E) |V| = n |E| = m Running times often reported in terms of n, the number of vertices, but they often depend on m, the number of edges.
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
Thm: Every minimally connected graph G=(V,E) has |V|-1 edges.
Image of page 6
Image of page 7
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