Professional Documents
Culture Documents
Graph BichTra
Graph BichTra
Graph BichTra
1843 ORD
SFO
802
4 3
17
337
1233
LAX DFW
7 43 802 LGA
337
1 8 7 10
2555 13
HNL 1233 99
LAX DFW 1120
MIA
© 2013 Goodrich, Tamassia, Goldwasser 4
Applications
cslab1a cslab1b
Electronic circuits math.brown.edu
Printed circuit board
Integrated circuit
cs.brown.edu
Transportation networks
Highway network brown.edu
Flight network qwest.net
att.net
Computer networks
Local area network
Internet cox.net
Web John
Databases Paul
David
Entity-relationship diagram
© 2013 Goodrich, Tamassia, Goldwasser 5
Graph Types
There are many types of graphs, based
on weights, direction, interconnectivity,
and special properties. Let’s look at the
most common types of graphs.
Based on Direction
Undirected Graphs
Directed Graphs
Based on Weights
Weighted Graphs
Unweighted Graphs
© 2013 Goodrich, Tamassia, Goldwasser 6
Undirected Graphs
In an undirected graph, the edges have
no path or direction.
If there is a path from vertex X to
vertex Y, then there is a path from
vertex Y to vertex X.
Edge (X, Y) represents the edge
connecting vertex X to vertex Y.