Yen's Algorithm
옌 알고리즘, 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 — Crossref에서 서지 확인, 2026-11-08
계보
알고리즘 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
기여 주장·이의제기
불러오는 중…