Skip to content

Latest commit

 

History

History

scheduler

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

miniScheduler

Requirement

Language and library facilities used in this repository are intentionally restricted within The Python Language and The Python Standard Library. So, the only requirement for running and using this repository is a standard Python 3.4+ environment.

Demo

First, prepare a text file, e.g. todo_list.txt, which contains your tasks and their prerequisites. To schedule the tasks listed in todo_list.txt, run the following command:

python3 scheduler.py < todo_list.txt

which should give the following result:

Independent Task Group 1:
  A
  B
  C
Independent Task Group 2:
  1
  2
  3

Code Style

In this repo, we adopt PEP 8 as our code style and use pylint to check the conformance.