FazelYU / Adaptive-Navigation

9 stars 0 forks source link

redundant agents @ nodes that are not junctions! #5

Closed FazelYU closed 3 years ago

FazelYU commented 3 years ago
FazelYU commented 3 years ago

you have to check the connections. if only one connection per incoming lane ==> no agent

FazelYU commented 3 years ago
FazelYU commented 3 years ago

use connection graph defined in the network.py. in the connection graph, nodes represent the edges of the road network. Edges of the connection graph represent the connections between edges. Note that the adjacency matrix of the connection graph is triangular