Graphs: Rosen 8.1, 8.2
Graphs: Rosen 8.1, 8.2
Simple graph
– Undirected
– Single edges
– No loops
Multigraph
– Undirected
– Multiple edges
– No loops
Examples
Detroit
New York
Denver
Chicago
San Francisco
Atlanta
MultiGraph
Los Angeles
(computer backbone
with redundant connections)
Directed Graph
• A directed graph consists of a set of
vertices V and a set of edges E that are
ordered pairs of V
– Loops are allowed
– Multiple edges are allowed
4
1 Digraph for equivalence
relation on {1,4,7}
7
Adjacency and Degree
• Two vertices u and v in an undirected graph
are called adjacent (or neighbors) in G if e =
{u,v} is an edge of G. The edge e is said to
connect u and v. The vertices u and v are
called the endpoints of e.
• The degree of a vertex in an undirected graph
is the number of edges that are incident with
(or connect) it, except that a loop at a vertex
contributes twice to the degree. The degree of
the vertex v is denoted by deg(v).
Handshaking Theorem
Let G = (V,E) be an undirected graph
with e edges. Then
2e = ∑deg( v).
v∈V
C3 C4 C5
Tree
A circuit is a path of edges that begins and ends
at the same vertex.
Q Q Q Q Q Q Q Q
Q Q Q Q
Linked Global
Quadtrees Q Q Q Q
Example: Quadtree
}
Q
Q Q
Q Q Q Q Q Q Q Q
Q Q Q Q
Linked Global
Quadtrees Q Q Q Q
22 levels
Regular
Triangularization (128 x
128 grid points)
Quadtree: Terrain
Global Terrain
(elevation &
imagery)
•Multiresolution
•Scalable (multiple
terabyte databases)
•Efficient (100 to1or
more reduction)
View-Dependent Simplification
Building a Vertex Hierarchy
Base
Mesh
Quadric
Simplification
Vertex Tree
Original
Mesh
Meshing From a Vertex Hierarchy
Geometry &
Base Appearance
Mesh Metric
Original
Mesh