예제 #1
0
 def __init__(self,
              name,
              infec_prob=0.0,
              posn=(0, 0, 0, 0),
              door_posns=[],
              opening_time=0,
              closing_time=0):
     Institution.__init__(self, name, infec_prob, posn)
     self.door_posns = door_posns
     self.opening_time = opening_time
     self.closing_time = closing_time
     self.classrooms = []
예제 #2
0
 def __init__(self, name, infec_prob=0.0, posn=(0, 0, 0, 0), door_posns=[]):
     Institution.__init__(self, name, infec_prob, posn)
     self.door_posns = door_posns
예제 #3
0
 def __init__(self, name, infec_prob=0.0, posn=(0, 0, 0, 0)):
     Institution.__init__(self, name, infec_prob, posn)
예제 #4
0
 def __init__(self, name, infec_prob=0.0, posn=(0, 0, 0, 0), door_posns=[]):
     Institution.__init__(self, name, infec_prob, posn)
     self.door_posns = door_posns
     PROB_STUDENT_BOARDS = 0.50  # TODO: reconsider this constant