In a previous paper, a process algebra based on ACP (Algebra of Communicating Processes) was proposed in which processes involving data can be handled by means of features originating from imperative programming. In this paper, an extension of that process algebra with probabilistic choice operators is presented that rests on the principle that probabilistic choices are always resolved before choices involved in alternative composition and parallel composition are resolved. This extension is devised, among other things, to be used for modeling and analyzing algorithms that are important in the area of distributed computing. Many canonical problems in that area call for a probabilistic algorithm. In this paper, a probabilistic algorithm for the leader election problem is modeled using the presented process algebra.
翻译:暂无翻译