Yen's Algorithm
Yen 算法, Yen's k Shortest Loopless Paths1971
以先前找到的路径上的每个顶点为分支点,固定其之前的路径前缀并屏蔽会重复已有路径的边,再求剩余部分的最短偏离路径,从而依次求出 k 条无环最短路径的算法。
起源
Jin Y. Yen (1971). Finding the K Shortest Loopless Paths in a Network. Management Science 17(11).doi:10.1287/mnsc.17.11.712 — 2026-11-08 已通过 Crossref 核验书目信息
谱系
3 个算法,3 条关系
本算法的源头
从何派生而来
Dijkstra's Algorithm1959
结构分析在每个分支点求剩余路径时反复调用最短路径算法作为子过程。
代表性实现
已按 GitHub 默认分支核实路径
- networkx/networkx/networkx/algorithms/simple_paths.pyPython
- google/or-tools/ortools/graph/k_shortest_paths.hC++
- jgrapht/jgrapht/jgrapht-core/src/main/java/org/jgrapht/alg/shortestpath/YenKShortestPath.javaJava
更多查找: GitHub · Semantic Scholar · Google Scholar · arXiv
贡献申明与异议
加载中…