Coloring the Nodes of a Graph with Five ColorsA graph is called planar if it can be drawn in the plane without edge crossings. In a drawing of a graph, nodes are identified with points in the plane and edges with lines connecting the corresponding end nodes. The edges are not allowed to cross nodes in the drawing. LEDA Function for Coloring the Nodes of a Graph with Five Colors
Remark: Application: Time Tabling and SchedulingMany scheduling problems involve allowing for a number of pairwise restrictions on which jobs can be done simultaneously. For instance, in attempting to schedule classes at a university, two courses taught by the same faculty member cannot be scheduled for the same time slot. Similarly, two course that are required by the same group of students also should not conflict. The problem of determining the minimum number of time slots needed subject to these restrictions is a graph coloring problem. (Courses correspond to nodes and there is an edge between two nodes if the corresponding courses cannot be taught simultaneously.) Example of How To Use
|
See also:Manual Entries: Manual Page Algorithms for Planar Graphs |