← 返回起始笔记位置

知识卡片

普通读书笔记卡 · 3721

图着色限制相邻同色

理解等级:初级

k着色把图的每个顶点分配到k种颜色之一,要求每条边的两端颜色不同;图着色优化问题求所需最少颜色数。

判定版本则固定k,问能否用k色着色。与地图实例的国家和边界对应只是建模方式。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 第34章 NP完全性 · 查看原书依据

      , k represent the k colors, and adjacent vertices must have different colors. The graph-coloring problem is to determine the minimum number of colors needed to color a given graph. a. Give an efficient algorithm to

    参考来源

    - 位置:《算法导论(第4版)》第34章《NP完全性》(OEBPS/chapter034.xhtml,文本字符[125000,130000))。 - 结论依据:原文归约策略、习题定义与脚注限定;图34.20–34.21已核对,习题未给出的证明不作既成结论。 - 原始内容:a k-coloring is a function c : V → {1, 2, … , k } such that c ( u ) ≠ c ( v ) for every edge ( u , v ) ∈ E . In other words, the numbers 1, 2, … , k represent the k colors, and adjacent vertices must have different colors. The graph-coloring problem is to determine the minimum number of colors needed to color a given graph. a. Give an efficient algorithm to