# The schedule planner [![Build Status](https://travis-ci.org/JustusAdam/schedule-planner.svg?branch=master)](https://travis-ci.org/JustusAdam/schedule-planner) [![Hackage version](https://img.shields.io/hackage/v/schedule-planner.svg)](https://hackage.haskell.org/package/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](http://hackage.haskell.org/package/schedule-planner-0.1.0.0/candidate) - 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](http://justusadam.github.io/schedule-planner/)