知识卡片
Prim斐波那契堆减少降键成本
斐波那契堆中提取最小摊还 O(lg V),插入和降键摊还 O(1),使 Prim 总时间成为 O(E+V lg V)。该改进体现在大量降键的图上。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 第21章 最小生成树 · 查看原书依据
Therefore, by using a Fibonacci heap to implement the min-priority queue Q, the running time of Prim’s algorithm improves to O(E+V lg V). Exercises 21.2-1 Kruskal’s algorithm can return different spanning trees for the
参考来源
- 位置:《算法导论(第4版)》第21章《最小生成树》(OEBPS/chapter021.xhtml,文本字符[20000,25000))。
- 结论依据:原文对比两种优先队列的摊还操作成本与总复杂度。
- 原始内容:Therefore, by using a Fibonacci heap to implement the min-priority queue Q , the running time of Prim’s algorithm improves to O ( E + V lg V ). Exercises 21.2-1 Kruskal’s algorithm can return different spanning trees for the