sumolib.net.lane
index
/tmp/buildd/sumo-0.21.0+dfsg/tools/sumolib/net/lane.py

@file    lane.py
@author  Daniel Krajzewicz
@author  Laura Bieker
@author  Karol Stosiek
@author  Michael Behrisch
@author  Jakob Erdmann
@date    2011-11-28
@version $Id: lane.py 16424 2014-05-26 06:25:52Z behrisch $
 
This file contains a Python-representation of a single lane.
 
SUMO, Simulation of Urban MObility; see http://sumo-sim.org/
Copyright (C) 2011-2014 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.

 
Classes
       
Lane

 
class Lane
    Lanes from a sumo network
 
  Methods defined here:
__init__(self, edge, speed, length, allow, disallow)
addOutgoing(self, conn)
getEdge(self)
getID(self)
getIndex(self)
getLength(self)
getShape(self)
getSpeed(self)
setShape(self, shape)

 
Functions
       
get_allowed(allow, disallow)
Normalize the given string attributes as a list of all allowed vClasses.

 
Data
        SUMO_VEHICLE_CLASSES = ('public_emergency', 'public_authority', 'public_army', 'public_transport', 'transport', 'lightrail', 'cityrail', 'rail_slow', 'rail_fast', 'private', 'emergency', 'authority', 'army', 'vip', 'passenger', 'hov', 'taxi', 'bus', 'coach', 'delivery', ...)