You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A clear and concise description of what the bug is that If you build an undirected graph and set edge between two nodes for only one time,you will get wrong answer when running dijkstra.
The reason is that althrough we set "directed = false" in config,no special handling is done either when creating edges or when running the Dijkstra.So the atrribute "directed" extractly does nothing. QWQ
Therefore the solution is that we should set two edge between the nodes by ourselves.
The text was updated successfully, but these errors were encountered:
Description
A clear and concise description of what the bug is that If you build an undirected graph and set edge between two nodes for only one time,you will get wrong answer when running dijkstra.
But we will get:
Why and How to resolve it
The reason is that althrough we set "directed = false" in config,no special handling is done either when creating edges or when running the Dijkstra.So the atrribute "directed" extractly does nothing. QWQ
Therefore the solution is that we should set two edge between the nodes by ourselves.
The text was updated successfully, but these errors were encountered: