arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1203.3249cs.CC
收藏

再论与或图的复杂性

Revisiting the Complexity of And/Or Graph Solution

Maise Dantas da Silva, Fábio Protti, Uéverton dos Santos Souza

摘要:

本文对计算机科学中的两种数据结构:与/或图和x-y图进行了研究。一个与/或图是一个包含一个源的无环有向图,使得每个顶点v都有一个标签f(v)\in {and,or},边表示顶点之间的依赖关系:一个标签为and的顶点依赖于它所有的外邻居,而一个标签为or的顶点只依赖于它的一个外邻居。X-y图是与或图的自然推广:x-y图的每个顶点vi都有一个标签xi-yi,表示vi依赖于它的yi外邻居的xi。我们分析了最优化问题Min-and/or和Min-x-y的复杂性,其中包括分别为和/或和x-y图找到最优权重的解子图。出于大的适用性以及硬度的最小和/或和Min-x-y,我们研究新的复杂性方面的问题,无论是从经典的和参数化的角度来看。我们证明了Min-和/或仍然是NP-困难的,即使是一个非常有限的家庭的和/或图,其中边的权重为1和或顶点的出度最多为2(除了其他属性有关的一些在度),并决定是否有一个解决方案的子树的权重正好为k的给定的x-y树也是NP-困难的。我们还表明:(i)参数化问题Min-和/或(k,r)是FPT,它询问是否存在权值至多为k的解子图,其中每个或-顶点至多有r条权值相同的外边;(ii)参数化问题Min-和/或0(k)是W[2]-难的,它的域包含和/或允许零权边的图;(iii)参数化问题Min-x-y(k)是W[1]-难的.

英文摘要:

This paper presents a study on two data structures that have been used to model several problems in computer science: and/or graphs and x-y graphs. An and/or graph is an acyclic digraph containing a source, such that every vertex v has a label f(v) \in {and,or} and edges represent dependency relations between vertices: a vertex labeled and depends on all of its out-neighbors, while a vertex labeled or depends on only one of its out-neighbors. X-y graphs are defined as a natural generalization of and/or graphs: every vertex vi of an x-y graph has a label xi-yi to mean that vi depends on xi of its yi out-neighbors. We analyze the complexity of the optimization problems Min-and/or and Min-x-y, which consist of finding solution subgraphs of optimal weight for and/or and x-y graphs, respectively. Motivated by the large applicability as well as the hardness of Min-and/or and Min-x-y, we study new complexity aspects of such problems, both from a classical and a parameterized point of view. We prove that Min-and/or remains NP-hard even for a very restricted family of and/or graphs where edges have weight one and or-vertices have out-degree at most two (apart from other property related to some in-degrees), and that deciding whether there is a solution subtree with weight exactly k of a given x-y tree is also NP-hard. We also show that: (i) the parameterized problem Min-and/or(k, r), which asks whether there is a solution subgraph of weight at most k where every or-vertex has at most r out-edges with the same weight, is FPT; (ii) the parameterized problem Min-and/or0(k), whose domain includes and/or graphs allowing zero-weight edges, is W[2]-hard; (iii) the parameterized problem Min-x-y(k) is W[1]-hard.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑