arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1307.2347cs.DScs.DMmath.CO
收藏

有效计数和随机生成FPTAS的组合分解方法

Combinatorial decomposition approaches for efficient counting and random generation FPTASes

Romeo Rizzi, Alexandru I. Tomescu

摘要:

给出了一个计数问题的组合分解,为了得到有效的全多项式时间近似算法(FPTASes),我们采用了一种简单的浮点表示法来逼近大数值,其指数和尾数的位数取决于误差参数$0 < \varepsilon \leq 1$和问题的特征.因此,我们提出了第一个FPTASes与$1 \pm \varepsilon$相对误差计数和随机均匀地产生一个标记的DAG与给定的顶点数。这是从用于计数DAG的经典递归开始实现的,其值由浮点数近似。这些结果扩展到其他家庭的DAG后,我们展示了如何同样的方法也与问题,我们给出了一个紧凑的组合合奏表示,我们被要求计数和采样元素从it. We聘请在这里的浮点近似方法转换成一个非常简单的FPTAS与$1 - \varepsilon$相对误差的经典伪多项式算法计数0/1背包解决方案。它的复杂性改进了最近的结果(Štefankoviet al.,SIAM J. COMPUT.,2012),并且,当使用$\varepsilon^{-1} = Ω(n)$时,也使用最著名的随机算法(Dyer,STOC,2003)。为了展示这种技术的多功能性,我们还将其应用到最近推广的弧加权DAG中计数0/1背包解决方案的问题,获得比现有的更快,更简单的FPTAS。

英文摘要:

Given a combinatorial decomposition for a counting problem, we resort to the simple scheme of approximating large numbers by floating-point representations in order to obtain efficient Fully Polynomial Time Approximation Schemes (FPTASes) for it. The number of bits employed for the exponent and the mantissa will depend on the error parameter $0 < \varepsilon \leq 1$ and on the characteristics of the problem. Accordingly, we propose the first FPTASes with $1 \pm \varepsilon$ relative error for counting and generating uniformly at random a labeled DAG with a given number of vertices. This is accomplished starting from a classical recurrence for counting DAGs, whose values we approximate by floating-point numbers. After extending these results to other families of DAGs, we show how the same approach works also with problems where we are given a compact representation of a combinatorial ensemble and we are asked to count and sample elements from it. We employ here the floating-point approximation method to transform the classic pseudo-polynomial algorithm for counting 0/1 Knapsack solutions into a very simple FPTAS with $1 - \varepsilon$ relative error. Its complexity improves upon the recent result (Štefankovič et al., SIAM J. Comput., 2012), and, when $\varepsilon^{-1} = Ω(n)$, also upon the best-known randomized algorithm (Dyer, STOC, 2003). To show the versatility of this technique, we also apply it to a recent generalization of the problem of counting 0/1 Knapsack solutions in an arc-weighted DAG, obtaining a faster and simpler FPTAS than the existing one.

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

↑