Jump to content

Colouring algorithm

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Charles Matthews (talk | contribs) at 19:55, 15 December 2003 (wikify). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

In computer science, the colouring algorithm is a simple look-up to virtual storage containing another stream to be parsed, to generate a function which acts on the original input.

This look-up may be performed recursively. The look-up is arbitrary and is defined by rules which are defined by virtual default streams. Each of these may be overridden, changed or removed by using an input stream. The problem with this lies in creating "enough" colouring to make all of this function. This is sometimes called "bootstrapping."

A variant of the coloring algorithm is known as the graph coloring algorithm. It is used in various allocation strategies, for example in register allocation in compiler development, and resource allocation in operating systems