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
Describe the bug
In a previous iteration of my MST code, I used get_edge to find the edge with the source and destination flipped. Often this returned the right edge (after subtracting 1), but sometimes it did not. In order to get the right edge all the time, I had to change the bfs call from:
To Reproduce
Call get_edge with various sources and destinations. Call get_source_vertex and get_destination_vertex on the edge obtained and compare.
Expected behavior
get_source_vertex and get_destination_vertex should reproduce the source and destination from the original call to get_edge (but they do not always).
Environment:
Linux/Windows: Linux - Ubuntu 21.10
NVIDIA Driver: 470.103.01
CUDA version: 11.4
GCC/G++ version: 11.2
The text was updated successfully, but these errors were encountered:
Describe the bug
In a previous iteration of my MST code, I used get_edge to find the edge with the source and destination flipped. Often this returned the right edge (after subtracting 1), but sometimes it did not. In order to get the right edge all the time, I had to change the bfs call from:
to:
or:
To Reproduce
Call get_edge with various sources and destinations. Call get_source_vertex and get_destination_vertex on the edge obtained and compare.
Expected behavior
get_source_vertex and get_destination_vertex should reproduce the source and destination from the original call to get_edge (but they do not always).
Environment:
The text was updated successfully, but these errors were encountered: