我们可以获得当前边的后续边列表吗?

Can we get the list of followed edges of the current edge?

在 SUMO 中,我们可以得到给定当前边的下一条边列表(如果存在的话)吗?另外,我们能否获得通向正常交叉路口的四种引入方法?

这取决于您是否要使用 TraCI 并需要特定车辆路线上的跟随边缘,或者您是否只想进行静态网络分析。对于后者,您可以使用 sumolib(至少如果您可以使用 python):

 # import the library
 import sumolib
 # parse the net
 net = sumolib.net.readNet('myNet.net.xml')
 # retrieve the successor edges of an edge
 nextEdges = net.getEdge('myEdgeID').getOutgoing()
 # retrieve the incoming edges of the destination of an edge
 nextEdges = net.getEdge('myEdgeID').getToNode().getIncoming()

https://sumo.dlr.de/docs/Tools/Sumolib.html