コード例 #1
0
 def flowIn(self, time):
     Link.flowIn(self, time)
     self.cells[0].addVehicles(self.inFlow)
     return None
コード例 #2
0
 def flowIn(self, pathFlows):
     Link.flowIn(self, pathFlows)
     totalIn = sum(pathFlows.values())
     self.cells[0].addVehicles(totalIn)