Chaitin Algorithm in Java
Chaitin algorithm is used to colour any graph.
This program contains 3 classes : Graph, Vertex and Edge. You can create your graph and use colorGraph to colour your graph. You need to create three arraylist with Vertex, Interference Edge and Preference Edge.
You can see simple examples in the main method in Main class.