Find the ideal lesson layout.
Executable program for calculating layouts for fixed grid schedules as are used in many universities and schools. The primary data format for in- and output is json. A deployable server instance of this software is also available.
The schedule planner
Take an arbitrary list of weighted "lessons" and calculate the most ideal and valid layout for them based on weighing rules.
Base algorithm seems to work, will add UI soon.
Install
- get the software
- clone the repository
git clone https://github.com/JustusAdam/schedule-planner
- or find the package on Hackage
- clone the repository
- install using cabal
cabal install
Usage
You may test it right now just executing the program ./dist/build/schedule-planner/schedule-planner
By default it tries to obtain it's input data from testsuite/test.json
, but you can specify any file as input using command line options.
Obtain information about the command line arguments using the -h
or --help
argument.
Since this is mostly intended to be used by myself to calculate a schedule and I attend the 'TU Dresden' there's a scraper script in util/grab.py
that gets all the current lessons as json from the website.
Code documentation
The Haddock documentation can be found on the GitHub pages.