sumolib.net.generator.network
index
/home/delphi/gcc/sumo/tools/sumolib/net/generator/network.py

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

 
Modules
       
os
subprocess
sumolib
tempfile

 
Classes
       
Connection
E1
Edge
Lane
Net
Node
Split

 
class Connection
     Methods defined here:
__init__(self, fromEdge, fromLane, toEdge, toLane)

 
class E1
     Methods defined here:
__init__(self, id, laneID, pos, freq, outputFile)

 
class Edge
     Methods defined here:
__init__(self, eid=None, fromNode=None, toNode=None, numLanes=None, maxSpeed=None, lanes=None, splits=None)
addSplit(self, distance, lanesToRight=None, lanesToLeft=None)
getConnections(self, net)
getDirection(self)

 
class Lane
     Methods defined here:
__init__(self, dirs=None, allowed=None, disallowed=None)

 
class Net
     Methods defined here:
__init__(self, defaultNode, defaultEdge)
addE1Detectors(self, id, laneID, pos, freq, outputFile)
addEdge(self, e)
addNode(self, n)
build(self, netName='net.net.xml')
buildDetectors(self, filename)
buildEdge(self, n1, n2)
connectNodes(self, node1, node2, bidi, centralReservation)
dir2connection(self, direction, edge, lane, seen)
getDefaultEdge(self, n1, n2)
getDirectionFromNode(self, n, dir)
getEdge(self, id)
getMatchingOutgoing(self, edge, direction)
getNode(self, id)

 
class Node
     Methods defined here:
__init__(self, nid, x, y, nodeType)
addCrossing(self, fromEdge, toEdge)
getNetworkCoordinates(self)

 
class Split
     Methods defined here:
__init__(self, distance, lanes)

 
Data
        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)