Skip to content
EntityQ2345824· pop 17· linked from 44 articles

约翰逊算法

Sign in to save

algorithm to find shortest paths between all pairs of vertices in a sparse, edge-weighted (possibly negatively), directed graph; uses the Bellman–Ford algorithm to remove negative weights and Dijkstra’s algorithm on the rest