Divergence (computer science)
In computer science, a computation is said to diverge if it does not terminate or terminates in an exceptional state. Otherwise it is said to converge. In domains where computations are expected to be infinite, such as process calculi, a computation is said to diverge if it fails to be productive (i.e. to continue producing an action within a finite amount of time). Source: e01 Encyclopedia. Licence: CC BY-SA 4.0.
In computer science, a computation is said to diverge if it does not terminate or terminates in an exceptional state. Otherwise it is said to converge. In domains where computations are expected to be infinite, such as process calculi, a computation is said to diverge if it fails to be productive (i.e. to continue producing an action within a finite amount of time). Clock = tick \rightarrow Clock The traces of this process are defined as: \operatorname{traces}(Clock) = \{\langle\rangle, \langle tick \rangle, \langle tick,tick \rangle, \ldots \} = \{ tick \}^* Now, consider the following process, which hides the tick event of the Clock process: P = Clock \setminus tick As P cannot do anything other than perform hidden actions forever, it is equivalent to the process that does nothing but diverge, denoted \mathbf{div} . One semantic model of CSP is the failures-divergences model, which refines the stable failures model by distinguishing processes based on the sets of traces after which they can diverge. J. M. R. Martin and S. A. Jassim (1997). "How to Design Deadlock-Free Networks Using CSP and Verification Tools: A Tutorial Introduction" in Proceedings of the WoTUG-20.
Cite this
"Divergence (computer science)". 1745329338. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1286880238 JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy