Graph Coloring for class scheduling

  • Authors:
  • Amal Dandashi;Mayez Al-Mouhamed

  • Affiliations:
  • Department of Computer Science, University of Balamand, Koura, Lebanon;Department of Computer Engineering, King Fahd University of Petroleum and Minerals, 31261 Dhahran, Kingdom of Saudi Arabia

  • Venue:
  • AICCSA '10 Proceedings of the ACS/IEEE International Conference on Computer Systems and Applications - AICCSA 2010
  • Year:
  • 2010

Quantified Score

Hi-index 0.00

Visualization

Abstract

The class scheduling problem can be modeled by a graph where the vertices and edges represent the courses and the common students, respectively. The problem is to assign the courses a given number of time slots (colors), where each time slot can be used for a given number of class rooms. The Vertex Coloring (VC) algorithm is a polynomial time algorithm which produces a conflict free solution using the least number of colors [9]. However, the VC solution may not be implementable because it uses a number of time slots that exceed the available ones with unbalanced use of class rooms. We propose a heuristic approach VC* to (1) promote uniform distribution of courses over the colors and to (2) balance course load for each time slot over the available class rooms. The performance function represents the percentage of students in all courses that could not be mapped to time slots or to class rooms. A randomized simulation of registration of four departments with up to 1200 students is used to evaluate the performance of proposed heuristic.