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

常概率程序的期望运行时间计算

Computing Expected Runtimes for Constant Probability Programs

Jürgen Giesl, Peter Giesl, Marcel Hark

摘要:

我们介绍了类的恒定概率(CP)的程序,并表明,经典的结果从概率论直接产生一个简单的决策程序(积极)几乎肯定终止的程序在这一类。此外,它们的预期运行时间的渐近紧界总是可以很容易地计算。在此基础上,我们提出了一个算法来推断任何CP程序的确切预期运行时间。

英文摘要:

We introduce the class of constant probability (CP) programs and show that classical results from probability theory directly yield a simple decision procedure for (positive) almost sure termination of programs in this class. Moreover, asymptotically tight bounds on their expected runtime can always be computed easily. Based on this, we present an algorithm to infer the exact expected runtime of any CP program.

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

↑