sumolib.scenario.scenarios
index
/build/sumo-lzRVri/sumo-0.30.0+dfsg1/tools/sumolib/scenario/scenarios/__init__.py

@file    __init__.py
@author  Daniel Krajzewicz
@date    2014-07-01
@version $Id: __init__.py 23979 2017-04-20 05:54:02Z namdre $
 
SUMO, Simulation of Urban MObility; see http://sumo.dlr.de/
Copyright (C) 2012-2016 DLR (http://www.dlr.de/) and contributors
 
This file is part of SUMO.
SUMO is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.

 
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 = '/build/sumo-lzRVri/sumo-0.30.0+dfsg1/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)