Dear,
Can I create directed acyclic graph for the whole road network in SUMO?
Are there any methods for this purpose?Could you suggest me?
with best regards,
___
sumo-user mailing list
sumo-user@eclipse.org
To change your delivery options, retrieve your
Hi,
yes you can build a directed graph from a sumo network. Whether it is
acyclic depends on your input. If you use sumolib you can easily access
all the nodes and edges together with the connectivity, see here for
examples: http://sumo.dlr.de/wiki/Tools/Sumolib#usage_examples
Please be aware that
Hi,
further information on the sumolib functions is also here:
http://www.sumo.dlr.de/pydoc/sumolib.html
Best regards,
Michael
Am 04.12.18 um 03:20 schrieb Ei Ei Mon:
> Dear,
>
> Which link can I reference for function of sumolib like retrieve nodes,
> edges and connections?
> Thank you in adv
Dear Sir,
Can I get the directed graph for our whole network directly by using
sumolib? Sorry I cannot find reference link. Please suggest me. Thank you
in advance.
with best regards,
On Tue, Dec 4, 2018 at 1:18 PM Michael Behrisch wrote:
> Hi,
> further information on the sumolib functions is
Hi,
yes it is possbile to do that with sumolib as written below. Please
write what you already tried and which errors you got. We are not going
to do your homework here ;-)
Best regards,
Michael
Am 08.12.18 um 09:30 schrieb Ei Ei Mon:
> Dear Sir,
>
> Can I get the directed graph for our whole n
Dear Sir,
In my case, I upload net file via sumolib and retrieve edges and nodes as
shown in the following statements:
net = sumolib.net.readNet('s_w_fixed.net.xml')
edgeID = net.getEdge('L10130')
nodeList=net.getNodes()
By using these nodes and edges, I created graph. But are there any
other
There are many function to make use of the edge/node graph and you can find
them all at
http://sumo.dlr.de/daily/pydoc/sumolib.net.html
http://sumo.dlr.de/daily/pydoc/sumolib.net.node.html
http://sumo.dlr.de/daily/pydoc/sumolib.net.edge.html
i.e.:
edges = net.getEdges()
fromNode = edge.getFromNode(