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