list
来自「17个最短路径源代码。代码效率高」· 代码 · 共 27 行
TXT
27 行
GENERATORS
sprand: SPRAND generator.
spgrid: SPGRID generator.
spacyc: SPACYC generator.
SHORTEST PATHS CODES
acc: special-purpose algorithm for acyclic networks.
bf: Bellman-Ford-Moore algorithm.
bfp: Bellman-Ford-Moore algorithm with parent-checking.
dikb: Dijkstra's implementation using buckets.
dikba: Dijkstra's implementation using approximate buckets.
dikbd: Dijkstra's implementation using two-level buckets.
dikbm: Dijkstra's implementation using buckets and overflow bag.
dikf: Dijkstra's implementation using Fibonacci heap.
dikh: Dijkstra's implementation using k-ary heap.
dikq: Dijkstra's implementation using linear search for minimum.
dikr: Dijkstra's implementation using R-heap.
gor: Goldberg-Radzik algorithm.
gor1: Goldberg-Radzik algorithm with distance updates during DFS.
pape: Pape-Levit algorithm.
stack: implementation using stack ordering of labeled node processing.
thresh: threshold algorithm.
two_q: two queue (Pallottino's) algorithm.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?