A room allocation algorithm for amity: implemented in Python. It's eccentric. Why? because it allocates rooms at random. Random is good.
-
Clone the repo by simply executing the command
git clone https://github.com/gitgik/amity-room-allocation.git
-
Install dependencies if you want to work under a sandbox
pip install -r requirements.txt
-
Test it first: (TDD is good)
nosetests tests/
-
You are good to go! Just use an input text file containing the list of employees to be allocated.
python sample/sample.py <input.txt>