Академический Документы
Профессиональный Документы
Культура Документы
• A vertex : an object
• An edge : a binary relation (between objects)
Multiple
edges loop
A B
C D
Sunday, January 7, 2018 4
Adjacency, Incidence, and Degree
• Assume ei is an edge whose endpoints are (vj,vk)
• The vertices vj and vk are said to be adjacent
• The edge ei is said to be incident upon vj (and also
v k)
• Degree of a vertex vk is the number of edges
incident upon vk ; more precisely, an edge contributes
one degree to each of its end-points. It is denoted as
d(vk) – usually used only for loop-less graphs.
ei
vj vk
w w x y z
b w 0 1 1 0
y z x 1 0
a c 2 0
e y 1 2 0 1
x d
z 0 0 1 0
w a b c d e
b w 1
y 1 0 0 0
a c z x 1 0 1 1 0
e
d y 0 1 1 1 1
x
z 0 0 0 0 1
G c
e d
a b
a b
c H3 c
H1 H2
d e d
e d
x w