Ejemplo n.º 1
0
 def flowIn(self, time):
     Link.flowIn(self, time)
     self.cells[0].addVehicles(self.inFlow)
     return None
Ejemplo n.º 2
0
 def flowIn(self, pathFlows):
     Link.flowIn(self, pathFlows)
     totalIn = sum(pathFlows.values())
     self.cells[0].addVehicles(totalIn)