Skip to content

aakashdinkar/Time-Scheduling-using-Graph-Coloring

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Time-Scheduling-using-Graph-Coloring

A timetable can be thought of as an assignment of timeslots to different events in any institution. So, we made this simple “Scheduling of Class timetable using Graph Coloring” where each color denotes a particular time slot. Time slots are reserved for each course and semester according to various factors.

Graph-Coloring

Graph coloring problem is to assign colors to certain elements of a graph subject to certain constraints. Vertex coloring is the most common graph coloring problem. The problem is, given m colors, find a way of coloring the vertices of a graph such that no two adjacent vertices are colored using same color. The other graph coloring problems like Edge Coloring and Face Coloring can be transformed into vertex coloring.

Applications

Making Schedule or Time-Table
Mobile Radio Frequency Assignment
Sudoku
Register Allocation
Map Coloring

Implementation

We used Python programming language.
Imported Packages:
pandas - for file handling
numpy - for arrays
itertools - for iterating values
matplotlib.pyplot - for plotting the points
networkx - for graph making

Result

After using graph coloring concept, we are able to find timeslots for each subject.
Let's generate the time table:
Result
Here, if any student has recourse for previous semesters then he/she can attend those classes. If no recourse, then class of particular semester can take place at same time without any modification.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors