arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1404.0753cs.DScs.CCcs.DM
收藏

分离、度量和征服:求最大2- CSP和计数支配集的快速算法

Separate, Measure and Conquer: Faster Algorithms for Max 2-CSP and Counting Dominating Sets

Serge Gaspers, Gregory B. Sorkin

摘要:

我们展示了一种方法,导致几个多项式空间,指数时间算法的改进。问题Max(r,2)-CSP的一个实例,或简称为Max 2-CSP,由域大小r(通常为2),变量的数量n(约束图G中的顶点)和约束的数量m(G中的边)参数化。当G是三次时,为了清楚起见,这里省略了次指数项,我们给出了一个在时间上运行的算法r^((1/5)n)= r^((2/15)m);以前的最佳算法是r^((1/4)n)= r^((1/6)m)。根据已知的结果,这种对立方情况的改进导致算法在一般情况下在时间上运行r^((9/50)m);以前最好的是r^((19/100)m)。我们表明,早期算法的分析是紧密的:我们的改进是在算法,而不仅仅是分析。新的算法,像旧的,扩展到多项式和环CSP。我们还给出了#支配集的快速算法,计算每个基数0,.,n为n阶图G。对于三次图,我们的算法运行时间为3^((1/6)n);以前最好的是2^((1/2)n)。对于一般图,我们给出了一个不相关的算法,运行时间为1.5183^n;以前的最佳算法是1.5673^n。以往求解这些问题的最佳算法都是采用局部变换,并采用“测量与征服”的方法进行分析。我们的新算法利用了三次图的小平衡分离器的存在-一个非局部属性-以及定制本地算法总是在分离器的顶点上“枢轴”的能力。新算法的性能与旧算法相当,直到分隔符为空,此时它们会获益,因为剩余的顶点被分成两个独立的问题实例,可以递归求解。这是可能的,这样的算法也可以有效的其他问题,我们提出了他们的设计和分析的一般框架。

英文摘要:

We show a method resulting in the improvement of several polynomial-space, exponential-time algorithms. An instance of the problem Max (r,2)-CSP, or simply Max 2-CSP, is parametrized by the domain size r (often 2), the number of variables n (vertices in the constraint graph G), and the number of constraints m (edges in G). When G is cubic, and omitting sub-exponential terms here for clarity, we give an algorithm running in time r^((1/5)n) = r^((2/15)m); the previous best was r^((1/4)n) = r^((1/6)m). By known results, this improvement for the cubic case results in an algorithm running in time r^((9/50)m) for general instances; the previous best was r^((19/100)m). We show that the analysis of the earlier algorithm was tight: our improvement is in the algorithm, not just the analysis. The new algorithm, like the old, extends to Polynomial and Ring CSP. We also give faster algorithms for #Dominating Set, counting the dominating sets of every cardinality 0,...,n for a graph G of order n. For cubic graphs, our algorithm runs in time 3^((1/6)n); the previous best was 2^((1/2)n). For general graphs, we give an unrelated algorithm running in time 1.5183^n; the previous best was 1.5673^n. The previous best algorithms for these problems all used local transformations and were analyzed by the "Measure and Conquer" method. Our new algorithms capitalize on the existence of small balanced separators for cubic graphs - a non-local property - and the ability to tailor the local algorithms always to "pivot" on a vertex in the separator. The new algorithms perform much as the old ones until the separator is empty, at which point they gain because the remaining vertices are split into two independent problem instances that can be solved recursively. It is likely that such algorithms can be effective for other problems too, and we present their design and analysis in a general framework.

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

↑