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