© 1989 by British Computer Society
Short Note
A Las Vegas graph Colouring Algorithm

1 Department of Computer Science, University of Victoria, Victoria, British Columbia V8W 2Y2, Canada, 2 National University of Lesotho, Lesotho, South Africa
It is known that for some NP-complete problem, most instances of the problem can be solved in polynomial time. The classic graph colouring problem is an example for which Monte Carlo algorithms have been given. These algorithms always terminate in polynomial time, and almost always give the correct result. That is to say, as the size of the correct result. That is to say, as the size of the graph tends to infinity, the probability of the algorithm giving a wrong answer on a random graph tends to zero. Here we describe a Las Vegas algorithm for the same problem. This kind of algorithm always gives the correct result and almost always terminates in polynomial time. The algorithm is based on a traversal of a Zykov tree derived from the graph and uses results previously obtained for a Monte Carlo algorithm for the same problem.
Received June 1988. accepted February 1989.
* Department of Computer Science, University of Victoria, Victoria, British Columbia V8W 2Y2, Canada
National University of Lesotho, Lesotho