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

常树宽图中定量验证的快速算法

Faster Algorithms for Quantitative Verification in Constant Treewidth Graphs

Krishnendu Chatterjee, Rasmus Ibsen-Jensen, Andreas Pavlogiannis

摘要:

我们认为,核心算法问题的验证系统方面的三个经典的定量属性,即,平均支付属性,比率属性,和最小初始信贷的能量属性。给定一个图和一个定量属性的算法问题要求从图的每个节点计算最优值(所有迹上的下确界值)。我们考虑具有恒定树宽的图,众所周知,大多数程序的控制流图具有恒定树宽。令$n$表示图的节点数,$m$表示边数(对于恒定树宽图$m=O(n)$),$W$表示权重的最大绝对值。我们的主要理论结果如下。首先,对于恒定树宽图,我们提出了一种算法,近似的平均回报值内的一个乘法因子的$ε$在时间$O(n \cdot \log (n/ε))$和线性空间,相比,经典的算法,需要二次时间。其次,对于比率属性,我们提出了一种算法,对于恒定树宽图的工作时间$O(n \cdot \log (|a\cdot b|))=O(n\cdot\log (n\cdot W))$,当输出是$\frac{a}{b}$,相比以前最好的已知算法的运行时间$O(n^2 \cdot \log (n\cdot W))$。第三,对于最小的初始信用问题,我们表明:(一)对于一般的图形的问题可以解决在$O(n^2\cdot m)$时间和相关的决策问题可以解决在$O(n\cdot m)$时间,提高以前已知的$O(n^3\cdot m\cdot \log (n\cdot W))$和$O(n^2 \cdot m)$界,分别;和(ii)对于恒定树宽图,我们提出了一种算法,需要$O(n\cdot \log n)$时间,提高以前已知的$O(n^4 \cdot \log (n \cdot W))$界。

英文摘要:

We consider the core algorithmic problems related to verification of systems with respect to three classical quantitative properties, namely, the mean-payoff property, the ratio property, and the minimum initial credit for energy property. The algorithmic problem given a graph and a quantitative property asks to compute the optimal value (the infimum value over all traces) from every node of the graph. We consider graphs with constant treewidth, and it is well-known that the control-flow graphs of most programs have constant treewidth. Let $n$ denote the number of nodes of a graph, $m$ the number of edges (for constant treewidth graphs $m=O(n)$) and $W$ the largest absolute value of the weights. Our main theoretical results are as follows. First, for constant treewidth graphs we present an algorithm that approximates the mean-payoff value within a multiplicative factor of $ε$ in time $O(n \cdot \log (n/ε))$ and linear space, as compared to the classical algorithms that require quadratic time. Second, for the ratio property we present an algorithm that for constant treewidth graphs works in time $O(n \cdot \log (|a\cdot b|))=O(n\cdot\log (n\cdot W))$, when the output is $\frac{a}{b}$, as compared to the previously best known algorithm with running time $O(n^2 \cdot \log (n\cdot W))$. Third, for the minimum initial credit problem we show that (i) for general graphs the problem can be solved in $O(n^2\cdot m)$ time and the associated decision problem can be solved in $O(n\cdot m)$ time, improving the previous known $O(n^3\cdot m\cdot \log (n\cdot W))$ and $O(n^2 \cdot m)$ bounds, respectively; and (ii) for constant treewidth graphs we present an algorithm that requires $O(n\cdot \log n)$ time, improving the previous known $O(n^4 \cdot \log (n \cdot W))$ bound.

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

↑