sumolib.net.generator.demand
index
/home/delphi/gcc/sumo/tools/sumolib/net/generator/demand.py

# Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.org/sumo
# Copyright (C) 2013-2018 German Aerospace Center (DLR) and others.
# This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v2.0
# which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v20.html
# SPDX-License-Identifier: EPL-2.0

 
Modules
       
math
os
random
subprocess
sumolib
tempfile

 
Classes
       
Demand
LinearChange
Stream
Vehicle
WaveComposition

 
class Demand
     Methods defined here:
__init__(self)
addStream(self, s)
build(self, b, e, netName='net.net.xml', routesName='input_routes.rou.xml', sampleFactor=None)

 
class LinearChange
     Methods defined here:
__init__(self, beginFlow, endFlow, beginTime, endTime)
depart(self, t)

 
class Stream
     Methods defined here:
__init__(self, sid, validFrom, validUntil, numberModel, departEdgeModel, arrivalEdgeModel, vTypeModel, via=None)
getFrom(self, what, i, number)
getVehicleDepartures(self, b, e, sampleFactor=None, seenRatio=None)
toVehicles(self, b, e, offset=0, sampleFactor=None, seenRatio=None)

 
class Vehicle
     Methods defined here:
__init__(self, id, depart, fromEdge, toEdge, vType, via=None)

 
class WaveComposition
     Methods defined here:
__init__(self, offset, curves)
depart(self, t)

 
Data
        PIVOT__PEAK = 10000
absolute_import = _Feature((2, 5, 0, 'alpha', 1), (3, 0, 0, 'alpha', 0), 16384)
print_function = _Feature((2, 6, 0, 'alpha', 2), (3, 0, 0, 'alpha', 0), 65536)