【问题标题】:Edge bi-partitioning, no triangles: complexity?边缘双分区,没有三角形:复杂性?
【发布时间】:2013-04-13 11:45:26
【问题描述】:

我必须找到一种算法来解决教职员工的问题。 我不是要求解决方案(请不要发布任何解决方案),请进一步阅读。

问题的句子:

** Given a graph G = (V, E) find 2 sets S1 and S2 of edges of G such that:
   1. S1 ∪ S2 = E
   2. S1 ∩ S2 = ∅
   3. The 2 subgraphs of G formed by S1 and S2 do not contain triangles (triangle = 3 nodes such that they link together 2 by 2)

在过去的 2 天里,我一直在尝试找到一种算法来解决这个问题,我认为我的方法是正确的。对于之前偶然发现它的任何人:你知道这个问题是否已经在多项式时间内解决了吗? (如果不是,是 NP-complete/NP-hard/NP?)

提前致谢, 约翰

【问题讨论】:

    标签: graph geometry complexity-theory bipartite


    【解决方案1】:

    谷歌搜索了一下,找到了。它被称为monochromatic triangle,它是 NP 完全的。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2011-10-05
      • 1970-01-01
      • 1970-01-01
      • 2016-04-13
      • 2013-09-17
      • 2018-06-08
      • 2017-04-09
      相关资源
      最近更新 更多