Elegant Graph Coloring Algorithm Pseudo-Code. To color this vertex, we need to pick the smallest numbered color that is not used by the adjacent. Since d is maximum degree, a vertex cannot be attached to more than d vertices.
Source: edward-huang.com
To color this vertex, we need to pick the smallest numbered color that is not used by the adjacent. Here d is the maximum degree in the given graph. Since d is maximum degree, a vertex cannot be attached to more than d vertices.
When we color a vertex, at most dcolors could have already been used by its adjacent. Here d is the maximum degree in the given graph. Since d is maximum degree, a vertex cannot be attached to more than d vertices.