1.
Transclude of DisMat-UE-11-1.excalidraw
Not connected:
Fully connected:
Every pair can either be one or two colors. →
2.
Propertys of Trees
No Child can have the color of the parent.
But all the Children can have the same color.
→ Two Colors are enough
-
Pick root Node
-
Chose a color → t
-
Go into a child
-
This child can choose alle color expect the of the parent →
-
Go over all uncolored children →
Suppose is not a tree:
Case 1: G has a Cycle
There must come a point where a vertecy has more than one already colored neigbor.
Those two vertecies can have different colors because the color of a child is not futher restrainted. In this case the vertex could only choose from colors.
Case 2: G is not connected
There would be two root Vertcies
Transclude of DisMat-UE-11-2.excalidraw