sumolib.net.connection
index
/build/sumo-90fV4g/sumo-0.30.0+dfsg1/tools/sumolib/net/connection.py

@file    connection.py
@author  Daniel Krajzewicz
@author  Laura Bieker
@author  Karol Stosiek
@author  Michael Behrisch
@author  Jakob Erdmann
@date    2011-11-28
@version $Id: connection.py 22608 2017-01-17 06:28:54Z behrisch $
 
This file contains a Python-representation of a single connection.
 
SUMO, Simulation of Urban MObility; see http://sumo.dlr.de/
Copyright (C) 2011-2017 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
       
Connection

 
class Connection
     Methods defined here:
__init__(self, fromEdge, toEdge, fromLane, toLane, direction, tls, tllink, state, viaLaneID=None)
__str__(self)
getDirection(self)
getFrom(self)
getFromLane(self)
getJunction(self)
getJunctionIndex(self)
getState(self)
getTLLinkIndex(self)
getTLSID(self)
getTo(self)
getToLane(self)
getViaLaneID(self)

Data and other attributes defined here:
LINKDIR_LEFT = 'l'
LINKDIR_PARTLEFT = 'L'
LINKDIR_PARTRIGHT = 'R'
LINKDIR_RIGHT = 'r'
LINKDIR_STRAIGHT = 's'
LINKDIR_TURN = 't'