A Timetable generator using Constraint Programming to develop optimum solutions while still
taking into account user preferences.The project is built with expansion in mind, to be able to
incoparate more algorithms in thefuture.
This is done by first represnting the initial values in a json file, after which an encoder converts it into Objects that the algorithim can understand and use to find a solution. The Objects include:
1.`Room`
2. `Instructor`
3. `Group`
4. `Unit`
- Room - An Object that represents the physical space where an action takes place
- Instructor - An Object that represents a person in charge
- Group - An Object that represents an audience
- Unit - An Object that represents a module to be taught
- Session - A fully filled Object containing a
Unit,Group,Time,Day,instructorandroom - Timetable - A collection of completed
sessions - Constraint Solver - A
Constraint Programmingalgorithm - Encoding - Converting into an organised formart
- Fitness Evaluation - Checking how good a timetable is
- Preference - A user defined constraint, read
Preferences.mdfor more - Variable - A structure that defines an object that requires to be given
- value - An Object containing a single
RoomandDayTime - assignment A structure containg all the variables and their acompapaning values
- Domain - A structure that contains the
valuesavariablecan take
- Reader
- Convert Json File into python dictionaries, lists etc
- DataReader
- Encoding to the different Objects and reading configuration
- Definition
- Divide the differrent Objects into
- Constraint Solver
- A constraint Programming implementation to solve the problem, read
ConstraintProgramming.mdfor more
- A constraint Programming implementation to solve the problem, read
- Fitness Evaluation
- An implementation to test how goos the solution is
- Timetable Printer (terminal)
- Printing to the screen(Command Line)
Works optimally for days not exceeding three
- Writer
- writes the timetable to a
jsonfile
- writes the timetable to a
