ch13_graphs

# ch13_graphs - Graphs 337 LAX 2010Goodrich,Tamassia Graphs...

This preview shows pages 1–5. Sign up to view the full content.

©  2010 Goodrich, Tamassia Graphs 1 Graphs ORD DFW SFO LAX 8 0 2 1743 1843 1233 3 3 7

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

View Full Document
©  2010 Goodrich, Tamassia Graphs 2 Graphs A graph is a pair  ( V, E ) , where V  is a set of nodes, called  vertices E  is a collection of pairs of vertices, called  edges Vertices and edges are positions and store elements Example: A vertex represents an airport and stores the three-letter airport code An edge represents a flight route between two airports and stores the  mileage of the route ORD PVD MIA DFW SFO LAX LGA HNL 849 8 0 2 1387 1743 1843 1099 1120 1233 3 3 7 2555 142
©  2010 Goodrich, Tamassia Graphs 3 Edge Types Directed edge ordered pair of vertices ( u , v ) first vertex  u  is the origin second vertex  v  is the destination e.g., a flight Undirected edge unordered pair of vertices ( u , v ) e.g., a flight route Directed graph all the edges are directed e.g., route network Undirected graph all the edges are undirected e.g., flight network ORD PVD flight AA 1206 ORD PVD 849 miles

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

View Full Document
©  2010 Goodrich, Tamassia Graphs 4 John David Paul brown.edu cox.net cs.brown.edu att.net qwest.net math.brown.edu cslab1b cslab1a Applications Electronic circuits Printed circuit board Integrated circuit Transportation networks Highway network Flight network Computer networks Local area network Internet Web Databases Entity-relationship diagram
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### What students are saying

• 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.

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

• 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.

Dana University of Pennsylvania ‘17, Course Hero Intern

• 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.

Jill Tulane University ‘16, Course Hero Intern