s*s
1 楼
【 以下文字转载自 Computation 讨论区 】
发信人: spiritless (逝去日子), 信区: Computation
标 题: 算法问题
发信站: BBS 未名空间站 (Mon Sep 17 11:06:08 2007), 站内
最近遇到个问题,忘了有没有相关算法了。
有一些set, from A1 to An, each set contains a number of elements
Ai and Aj has intersection. 比如 Ai=(1,2,3,4) Aj=(3,4,7,8,9,10).
How to find the minimum number of sets from A1 to An so that
Union of these sets = Union of A1 ... An
Thanks.
发信人: spiritless (逝去日子), 信区: Computation
标 题: 算法问题
发信站: BBS 未名空间站 (Mon Sep 17 11:06:08 2007), 站内
最近遇到个问题,忘了有没有相关算法了。
有一些set, from A1 to An, each set contains a number of elements
Ai and Aj has intersection. 比如 Ai=(1,2,3,4) Aj=(3,4,7,8,9,10).
How to find the minimum number of sets from A1 to An so that
Union of these sets = Union of A1 ... An
Thanks.