知识卡片

普通读书笔记卡 · 3648

图复杂度按顶点和边分别计

理解等级:中级

图算法复杂度通常同时用顶点数 |V| 与边数 |E| 表示;同样顶点数的稀疏图和稠密图可能成本不同。

在渐近符号内省写 V、E 代表数量,在伪代码中 G.V、G.E 则表示实际顶点集和边集。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 第六部分 图算法 · 查看原书依据

      When we characterize the running time of a graph algorithm on a given graph G = (V, E), we usually measure the size of the input in terms of the number of vertices |V| and the number of edges |E| of the graph. That is, we denote the size of the input with two parameters, not just one.

    参考来源

    - 位置:《算法导论(第4版)》第六部分引言《图算法》(OEBPS/part006.xhtml,文本字符[0,3106))。 - 结论依据:原文明确图输入的双参数规模以及渐近记号中的简写范围。 - 原始内容:When we characterize the running time of a graph algorithm on a given graph G = ( V , E ), we usually measure the size of the input in terms of the number of vertices | V | and the number of edges | E | of the graph. That is, we denote the size of the input with two parameters, not just one.