Question
Let ??=(??,??) be a graph for which each vertex is colored either black or white (but not both). We say that vertex ???? is integrated
Let ??=(??,??) be a graph for which each vertex is colored either black or white (but not both). We say that vertex ???? is integrated if at least half of its neighbors (those connected by one edge to ??) have a different color than ??. Furthermore, we say that a coloring of a graph is integrated if every vertex in the graph is integrated.
(a) Show that every graph in which every cycle is of even length has an integrated coloring. Consider the following algorithm: pick an uncolored vertex, color it white, color each of its neighbors black and repeat. Why will this procedure terminate in an integrated coloring? (b) Prove that every graph has an integrated coloring. Consider the following algorithm: First, color every vertex white. Next, if there is a vertex that is not integrated, flip its color. When this algorithm terminates, it will yield an integrated coloring. Prove that the process always terminates. (Hint: focus on the number of mixed edges those whose end-points are of different colors.) What logical principle did you use to prove termination?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started