...
首页> 外文期刊>The Computer journal >Comparing Degrees of Non-Determinism in Expression Evaluation
【24h】

Comparing Degrees of Non-Determinism in Expression Evaluation

机译:表达评估中不确定性的比较度

获取原文
获取原文并翻译 | 示例

摘要

Expression evaluation in programming languages is normally assumed to be deterministic; however, if an expression involves variables that are being modified by the environment of the process during its evaluation, the result of the evaluation can be non-deterministic. Two common scenarios in which this occurs are concurrent programs within which processes share variables and real-time programs that interact to monitor and/or control their environment. In these contexts, although any particular evaluation of an expression gives a single result, there is a range of possible values that could be returned depending on the relative timing between modification of a variable by the environment and its access within the expression evaluation. To compare the semantics of non-deterministic expression evaluation, one can use the set of possible values the expression evaluation could return. This paper formalizes three approaches to non-deterministic expression evaluation, highlights their commonalities and differences, shows the relationships between the approaches and explores conditions under which they coincide. Modal operators representing that a predicate holds for all possible evaluations and for some possible evaluation are associated with each of the evaluation approaches, and the properties and relationships between these operators are investigated. Furthermore, a link is made to a new notation used in reasoning about interference.
机译:通常假定以编程语言进行表达评估是确定性的;但是,如果表达式包含在评估过程中被流程环境所修改的变量,则评估的结果可能是不确定的。发生这种情况的两种常见情况是并发程序和进程实时程序,在并发程序中进程共享变量并进行交互以监视和/或控制其环境。在这些情况下,尽管对表达式的任何特定评估都会得出单个结果,但是根据环境对变量的修改与表达式评估中对变量的访问之间的相对时序,可能会返回一定范围的可能值。为了比较非确定性表达式评估的语义,可以使用表达式评估可以返回的一组可能值。本文对非确定性表达评估的三种方法进行了形式化,强调了它们的共性和差异,展示了方法之间的关系并探讨了它们相吻合的条件。表示谓词对所有可能的评估和某些可能的评估均成立的模态运算符与每种评估方法相关联,并对这些运算符之间的性质和关系进行研究。此外,链接到用于推理的新符号。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号