知识卡片
建集只含新元素
MAKE-SET(x) 创建只含 x 的新集合,x 也就是该集合代表元;前提是 x 尚未属于别的集合。
若重复建集,会破坏“各集合互不相交、每个元素仅归属一组”的语义。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
- · 建集只含新元素
原书出处 · 1 处
- 第19章 不相交集合的数据结构 · 查看原书依据
MAKE-SET(x), where x does not already belong to some other set, creates a new set whose only member (and thus representative) is x.
参考来源
- 位置:《算法导论(第4版)》第19章《不相交集合的数据结构》(OEBPS/chapter019.xhtml,文本字符[0,5000))。
- 结论依据:原文定义MAKE-SET的前置条件、单元素结果与代表元。
- 原始内容:M AKE -S ET ( x ), where x does not already belong to some other set, creates a new set whose only member (and thus representative) is x .