Add queueing example model

This commit is contained in:
Yentl Van Tendeloo 2017-04-06 12:02:58 +02:00
parent 2ca0c68e31
commit d4aa028d4f
9 changed files with 825 additions and 0 deletions

5
examples/queueing/job.py Normal file
View file

@ -0,0 +1,5 @@
class Job:
def __init__(self, size, creation_time):
# Jobs have a size and creation_time parameter
self.size = size
self.creation_time = creation_time