arXiv · 1905.09544
Computing Expected Runtimes for Constant Probability Programs
Abstract
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.
Explore related subjects
Keep this discovery
Jürgen Giesl, Peter Giesl, Marcel Hark. 2019-05-23. Computing Expected Runtimes for Constant Probability Programs. https://arxiv.org/abs/1905.09544
Cite the original work for its findings. Save a collection to share your selection of sources.