知识卡片
预定比较网络不依赖键值
固定序列的比较交换算法在运行前就确定每一步比较哪两个位置。是否交换仍取决于键值,但后续比较位置不能随键值或之前比较结果改变。它适合用同一比较结构处理不同输入,也使 0-1 排序引理可适用。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 第8章 线性时间排序 · 查看原书依据
The indices of the positions compared in the sequence must be determined in advance
参考来源
- 位置:《算法导论(第4版)》第 8 章问题 8-7(`OEBPS/chapter008.xhtml`,文本字符 [35000, 37500))。
- 结论依据:原文定义 oblivious compare-exchange 算法,并区分预先固定索引和依输入变化的交换结果。
- 原始内容:The indices of the positions compared in the sequence must be determined in advance