A Programming Approach to Planar Coloured Graphs

Colouring Algorithms Inspired by the Four Colour Theorem

Authors

  • Satyanarayana Sanakkayala Research Scholar, Graph Machine Learning School of Science and Technology, Dravidian University, Kuppam, India Author

DOI:

https://doi.org/10.70153/ijcmi/2009.1102

Keywords:

planar graph colouring, four colour theorem, degeneracy ordering, Kempe chains, discharging, reducibility, saturation degree, backtracking search

Abstract

The proof of the four colour theorem is a landmark of computational mathematics, and its machinery, degeneracy, Kempe chains, discharging, reducibility, and unavoidable sets, is a treasury of algorithmic ideas. This paper, the third in a series on learning and computing with planar graphs, takes a programming approach: it turns the proof strategies of the four colour theorem into concrete, implementable procedures for colouring planar coloured graphs, and it supplies the proper colourings that the learning algorithms of the companion papers consume. We develop four programs with increasing ambition. A degeneracy program colours any planar graph with at most six colours in linear time by peeling vertices of degree at most five. A Kempe chain program improves this to five colours in linear time by recolouring along alternating two colour paths, using planarity to rule out the only obstruction. A discharging and reducibility program uses the charge that Euler’s formula distributes over a triangulation as a colouring priority and prunes small reducible configurations. A constraint search program performs saturation ordered backtracking with forward checking to reach the chromatic number when a minimum colouring is required, falling back on the always available four colouring guaranteed by the theorem. Each program is given with correctness and complexity, the intuition of every proof idea is made explicit, and the behaviour is illustrated on planar test graphs. The message is that the four colour theorem is not only a theorem to be admired but a design manual to be programmed.

Downloads

Published

2009-05-20

Most read articles by the same author(s)

Similar Articles

1-10 of 16

You may also start an advanced similarity search for this article.