AlgLab: An Open Laboratory for Experiments On Algorithms

AlgLab Home About Labs Related Contribute

GraphColorLab: Algorithms for Graph Coloring

About the Lab

The Graph Coloring Problem is: Given an undirected graph G, assign colors to the vertices such that no two adjacent vertices have the same color; the goal is to use the smallest possible number of distinct colors.

Graph Coloring is NP-Hard, which means that all known optimal algorithms run in exponential time.

This lab describes three heuristic algorithms. Colors are identified by the integers 1 through k.