sumolib.net.connection
index
/build/sumo-O79YsN/sumo-0.25.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 19499 2015-12-03 08:52:04Z namdre $
 
This file contains a Python-representation of a single connection.
 
SUMO, Simulation of Urban MObility; see http://sumo.dlr.de/
Copyright (C) 2011-2015 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)
__str__(self)
getDirection(self)
getFrom(self)
getFromLane(self)
getJunctionIndex(self)
getState(self)
getTLLinkIndex(self)
getTLSID(self)
getTo(self)
getToLane(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'