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
This is a first simple problem to become familiarized with BGL. It can be solved in $\mathcal{O}(n \log n + m \log n)$ by calling the algorithms of Kruskal and Dijkstra.