Undirected
Description:
terminology
- adjacent (neighbors): if 2 endpoints a, b are connected with an edge e
- a and b are adjacent
- w is incident with b and c
- neighborhood
- N(f)={b,a,e,c}
- N(a,b)=N(a)βͺN(b)={f}
- degree in undirected graph
- number of edges incident with it, with a loop counted twice to the degree of that vertex
- deg(v)
- pendant: vertex with degree 1
- isolate: vertex with degree 0
Handshaking theorem:
- definition: find sum of degrees or total edges of a undirected graph
- Let G=(V,E) be an undirected graph with π edges.
- Then 2m=Ξ£vβVβdeg(v) (sum of total degrees = 2 x edges)
- Also applies even if multiple edges and loops are present.
- Theorem:
- An undirected graph has an even number of vertices of odd degreetheorem