Exemple #1
0
 def flowOut(self, time):
     Link.flowOut(self, time)
     self.cells[len(self.cells) - 1].removeVehicles(self.outFlow)
     return None
Exemple #2
0
 def flowOut(self, pathFlows):
     Link.flowOut(self, pathFlows)
     totalOut = sum(pathFlows.values())
     self.cells[len(self.cells) - 1].removeVehicles(totalOut)