Lecture 4
Lecture 4
The following example shows that a graph can have many edges, but
2
no Hamiltonian cycle. The graph has 𝑛𝑛 vertices and 𝐶𝐶𝑛𝑛−1 + 1 edges:
𝐾𝐾𝑛𝑛−1
DIRAC’S THEOREM (1952)
If 𝐺𝐺 is a simple graph with 𝑛𝑛 vertices, 𝑛𝑛 ≥ 3, such that the degree
of every vertex in 𝐺𝐺 is at least 𝑛𝑛/2 , then 𝐺𝐺 has a Hamilton cycle.
ω(𝐺𝐺) - is the greatest number 𝑘𝑘, such that 𝐺𝐺 has a complete subgraph
with 𝑘𝑘 vertices.
Δ(𝐺𝐺) – is the greatest degree in the graph 𝐺𝐺.
Theorem.
For arbitrary graph 𝐺𝐺
ω 𝐺𝐺 ≤ 𝜒𝜒 𝐺𝐺 ≤ Δ 𝐺𝐺 + 1.
Algorithm for the vertex coloring of a simple graph
Let 𝐺𝐺 be a graph with 𝑛𝑛 vertices: 𝑣𝑣1 , 𝑣𝑣2 , ⋯ , 𝑣𝑣𝑛𝑛 .
One by one color the vertices 𝑣𝑣1 , 𝑣𝑣2 , ⋯ , 𝑣𝑣𝑛𝑛 of the graph, assigning to
the vertex 𝑣𝑣𝑖𝑖 the color with smallest index which is not used for the
coloring of adjacent to 𝑣𝑣𝑖𝑖 vertices.
Example, a,b,c,d,e,f
1,2,c,d,e,f
1,2,2,d,e,f
1,2,2,3,e,f
1,2,2,3,3,1