Abstract
We investigate the common interpretation of parallel processes as computation trees. The basis for our approach is the combinatorics of increasingly labelled structures, and our main objective is to provide quantitative results relying on advanced analytic techniques. Unlike previous works, the combinatorial model we propose captures the following ingredients of the algebraic presentation : a binary parallel operator with associativity law. The switch from general trees to binary encodings in this paper makes everything more complex (but eventually workable). Ultimately, we provide a precise characterization and asymptotic approximations of various measures of parallel processes in the average case, especially the average size of the computation trees and their average number of paths, providing a more meaningful notion of combinatorial explosion than in the (rather trivial) worst-case. Beyond the measures, we also provide a precise characterization of the typical combinatorial shape of the computation trees, especially their level-decomposition, an interesting notion of process depth. From a more practical point of view, we develop efficient algorithms for the uniform random sampling of computations. Thanks to our typical shape analysis, it is possible to uniformly sample computation prefixes at a given depth in a very efficient way. Indeed, these algorithms work directly on the syntax trees of the processes and do not require the explicit construction of the state space, hence completely avoiding the combinatorial explosion.
This research was partially supported by the A.N.R. project MAGNUM, ANR 2010-BLAN-0204.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Bassino, F., David, J., Nicaud, C.: Average case analysis of Moore’s state minimization algorithm. Algorithmica 63(1-2), 509–531 (2012)
Bergeron, F., Flajolet, P., Salvy, B.: Varieties of increasing trees. In: Raoult, J.-C. (ed.) CAAP 1992. LNCS, vol. 581, pp. 24–48. Springer, Heidelberg (1992)
Bodini, O., Genitrini, A., Peschanski, F.: Enumeration and random generation of concurrent computations. In: DMTCS AofA 2012 Proceedings, pp. 83–96 (2012)
Bodini, O., Genitrini, A., Peschanski, F.: The Combinatorics of Non-determinism. In: proc. FSTTCS 2013. LIPIcs, vol. 24, pp. 425–436 (2013)
Bodini, O., Genitrini, A., Peschanski, F.: Enumeration and random generation of concurrent computations. arXiv/1407.1873 (page under submission, 2014)
Clarke, E.M., Emerson, E.A., Sistla, A.P.: Automatic verification of finite-state concurrent systems using temporal logic specifications. ACM Trans. Program. Lang. Syst. 8(2), 244–263 (1986)
Corless, R.M., Gonnet, G.H., Hare, D.E.G., Jeffrey, D.J., Knuth, D.E.: On the Lambert W Function. Advances in Computational Mathematics 5, 329–359 (1996)
Drmota, M.: Random trees. Springer, Vienna (2009)
Duchamp, G., Hivert, F., Novelli, J.-C., Thibon, J.-Y.: Noncommutative Symmetric Functions VII: Free Quasi-Symmetric Functions Revisited. Ann. Comb. 15, 655–673 (2011)
Flajolet, P., Gardy, D., Thimonier, L.: Birthday Paradox, Coupon Collectors, Caching Algorithms and Self-Organizing Search. D. A. Math. 39(3), 207–229 (1992)
Flajolet, P., Odlyzko, A.M.: Singularity analysis of generating functions. In SIAM J. Discrete Math. 3, 216–240 (1990)
Flajolet, P., Sedgewick, R.: Analytic Combinatorics. Cambridge UP. (2009)
Gerhold, S.: On Some Non-Holonomic Sequences. Elec. J. Comb. 11(1), 1–8 (2004)
Knuth, D.E.: The art of computer programming, 2nd edn. sorting and searching, vol. 3. Addison Wesley Longman Publishing Co., Inc. (1998)
Krob, D., Mairesse, J., Michos, I.: Computing the average parallelism in trace monoids. Discrete Mathematics 273(1-3), 131–162 (2003)
Milner, R.: A Calculus of Communicating Systems. Springer (1980)
Mishna, M., Zabrocki, M.: Analytic aspects of the shuffle product. CoRR (2008)
Wilf, H.S., Nijenhuis, A.: Combinatorial algorithms: An update (1989)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2015 Springer International Publishing Switzerland
About this paper
Cite this paper
Bodini, O., Genitrini, A., Peschanski, F., Rolin, N. (2015). Associativity for Binary Parallel Processes: A Quantitative Study. In: Ganguly, S., Krishnamurti, R. (eds) Algorithms and Discrete Applied Mathematics. CALDAM 2015. Lecture Notes in Computer Science, vol 8959. Springer, Cham. https://doi.org/10.1007/978-3-319-14974-5_21
Download citation
DOI: https://doi.org/10.1007/978-3-319-14974-5_21
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-14973-8
Online ISBN: 978-3-319-14974-5
eBook Packages: Computer ScienceComputer Science (R0)