sumolib.scenario.scenarios
index
/home/delphi/gcc/sumo/tools/sumolib/scenario/scenarios/__init__.py

# Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.org/sumo
# Copyright (C) 2012-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

 
Package Contents
       
basic_corridor
basic_cross
basic_crossl
basic_net
basic_rilsacorridor3
basic_rilsanet
basic_rilsanet2x2
real_world
rilsa1
rilsa1_both_tls
rilsa1_both_tls24
rilsa1_out_tls
rilsa1_out_tls24

 
Classes
       
Scenario

 
class Scenario
     Methods defined here:
__init__(self, dataPath)
addAdditional(self, name, add)
addAdditionalFile(self, name)
buildWAUT(self, streamsNS, streamsWE)
fullPath(self, fileName)
getNet(self)
getOppositeFlows(self)
getOppositeFlows2(self, ew, sn)
sandboxPath(self, fileName)
writeSUMOConfig(self, cfgName, addOptions={})

 
Functions
       
extrapolateDemand(stream, freq, probs, pivot=10000, tBeg=0)
fileNeedsRebuild(filePath, app)
getScenario(which, useName, params, withDefaultDemand=True)
maxIndexValue(l)
maxIndexValue_unset(l, l2)
minIndexValue(l)
minIndexValue_unset(l, l2)
split_by_proportions(total, proportions, mininum_values)
splits the given total by the given proportions but ensures that each value in
the result has at least the given minimum value

 
Data
        REBUILD = False
SANDBOX_PATH = '/home/delphi/gcc/sumo/tools/sumolib/scenario/scenarios/../sandbox'
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)