• Title of article

    Probabilistic models for the guarded command language

  • Author/Authors

    He Jifeng، نويسنده , , K. Seidel، نويسنده , , A. McIver، نويسنده ,

  • Issue Information
    دوماهنامه با شماره پیاپی سال 1997
  • Pages
    22
  • From page
    171
  • To page
    192
  • Abstract
    The two models presented in this paper provide two different semantics for an extension of Dijkstraʹs language of guarded commands. The extended language has an additional operator, namely probabilistic choice, which makes it possible to express randomized algorithms. An earlier model by Claire Jones included probabilistic choice but not non-determinism, which meant that it could not be used for the development of algorithms from specifications. Our second model is built on top of Claire Jonesʹ model, using a general method of extending a probabilistic cpo to one which also contains non-determinism. The first model was constructed from scratch, as it were, guided only by the desire for certain algebraic properties of the language constructs, which we found lacking in the second model. We compare and contrast the properties of the two models both by giving examples and by constructing mappings between them and the non-probabilistic model. On the basis of this comparison we argue that, in general, the first model is preferable to the second
  • Keywords
    Probabilistic programming language , Semantics , Algebraic laws
  • Journal title
    Science of Computer Programming
  • Serial Year
    1997
  • Journal title
    Science of Computer Programming
  • Record number

    1079465