eclipse-sumo / sumo

Eclipse SUMO is an open source, highly portable, microscopic and continuous traffic simulation package designed to handle large networks. It allows for intermodal simulation including pedestrians and comes with a large set of tools for scenario creation.
https://eclipse.dev/sumo
Eclipse Public License 2.0
2.37k stars 1.37k forks source link

the corresponding foes of the connection #12095

Open a-123-du opened 1 year ago

a-123-du commented 1 year ago

I don't know how to get the corresponding foes of the connection. I find the api of areFoes(link1,link2). Does sumolib have the api of getting the corresponding foes of the connection?

SUMO-version: 1.14.1

operating system: Windows

behrisch commented 1 year ago

you can retrieve all connections and iterate over them but I agree it maybe a useful addition