计算机程序分解与动态/行为建模
Computer Program Decomposition and Dynamic/Behavioral Modeling
摘要:
分解,静态地将程序划分为多个单元,是实现并行性和细化程序的常用编程技术。由于程序分析的局限性,并且由于顺序程序经常使用固有的顺序算法,将顺序程序分解成组件是冗长乏味的。本文有助于这一领域的研究,提出了一种图解方法来分解一个顺序的程序。该方法涉及可视化的程序在一个概念模型称为思维机(TM)模型。基于TM的模型建立了三个层次的表示:(1)静态描述;(2)动态表示;(3)行为模型。分解是在建模的最后阶段根据事件流进行的。该方法与形式化分解规范进行了对比,并与典型的C++程序分解进行了比较。结果表明,使用TM分解程序的可行性。
英文摘要:
Decomposition, statically dividing a program into multiple units, is a common programming technique for realizing parallelism and refining programs. The decomposition of a sequential program into components is tedious, due to the limitations of program analysis and because sequential programs frequently employ inherently sequential algorithms. This paper contributes to this area of study by proposing a diagrammatic methodology to decompose a sequential program. The methodology involves visualizing the program in terms of a conceptual model called the thinging machine (TM) model. The TM diagram-based model establishes three levels of representation (1) a static description; (2) a dynamic representation; and (3) a behavioral model. The decomposition is performed in the last phase of modeling, according to the streams of events. This method is contrasted with formal decomposition specifications and compared with the typical decomposition of a C++ program. The results point to the viability of using TM for decomposing programs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。