A parallel program may be indeterminate so that it can adapt its behavior to the number of processors available. Indeterminate programs are hard to write, understand, modify or verify. They are impossible to debug, since they may not behave the same from one run to the next. We propose a new construct, a polymorphic abstract data type called an improving value, with operations that have indeterminate behavior but simple determinate semantics. These operations allow the type of indeterminate behavior required by many parallel algorithms. We define improving values in the context of a functional programming language, but the technique can be used in procedural programs as well. © 1991, Cambridge University Press. All rights reserved.
CITATION STYLE
Burton, F. W. (1991). Encapsulating non-determinacy in an abstract data type with determinate semantics. Journal of Functional Programming, 1(1), 3–20. https://doi.org/10.1017/S0956796800000046
Mendeley helps you to discover research relevant for your work.