sumolib.net.roundabout

 1# Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.dev/sumo
 2# Copyright (C) 2008-2026 German Aerospace Center (DLR) and others.
 3# This program and the accompanying materials are made available under the
 4# terms of the Eclipse Public License 2.0 which is available at
 5# https://www.eclipse.org/legal/epl-2.0/
 6# This Source Code may also be made available under the following Secondary
 7# Licenses when the conditions for such availability set forth in the Eclipse
 8# Public License 2.0 are satisfied: GNU General Public License, version 2
 9# or later which is available at
10# https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html
11# SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-or-later
12
13# @file    roundabout.py
14# @author  Daniel Krajzewicz
15# @author  Laura Bieker
16# @author  Karol Stosiek
17# @author  Michael Behrisch
18# @date    2011-11-28
19
20
21class Roundabout:
22
23    def __init__(self, nodes, edges=None):
24        self._nodes = nodes
25        self._edges = edges
26
27    def getNodes(self):
28        return self._nodes
29
30    def getEdges(self):
31        return self._edges
class Roundabout:
22class Roundabout:
23
24    def __init__(self, nodes, edges=None):
25        self._nodes = nodes
26        self._edges = edges
27
28    def getNodes(self):
29        return self._nodes
30
31    def getEdges(self):
32        return self._edges
Roundabout(nodes, edges=None)
24    def __init__(self, nodes, edges=None):
25        self._nodes = nodes
26        self._edges = edges
def getNodes(self):
28    def getNodes(self):
29        return self._nodes
def getEdges(self):
31    def getEdges(self):
32        return self._edges