知识卡片

普通读书笔记卡 · 3713.a.1.b.1

编码变换须处理无效串

理解等级:高级

证明两种编码在复杂度上等价时,转换函数除映射合法实例,还须把源编码中的无效串映到目标编码的无效串。

否则只验证实例之间的转换,可能无法保持整个判定语言的成员资格。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

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

      Technically, we also require the functions f12 and f21 to “map noninstances to noninstances.” A noninstance of an encoding e is a string x ∈ {0, 1}* such that there is no instance i for which e(i) = x. We require that f12(x) = y for every noninstance x of encoding e1, where y is some noninstance of e

    参考来源

    - 位置:《算法导论(第4版)》第34章《NP完全性》(OEBPS/chapter034.xhtml,文本字符[130000,135000))。 - 结论依据:原文归约策略、习题定义与脚注限定;图34.20–34.21已核对,习题未给出的证明不作既成结论。 - 原始内容:Technically, we also require the functions f 12 and f 21 to “map noninstances to noninstances.” A noninstance of an encoding e is a string x ∈ {0, 1}* such that there is no instance i for which e ( i ) = x . We require that f 12 ( x ) = y for every noninstance x of encoding e 1 , where y is some noninstance of e