[Paper Review] Computer Program Decomposition and Dynamic/Behavioral Modeling
This paper proposes a diagrammatic methodology using the Thinging Machine (TM) model to decompose sequential programs into components based on dynamic event streams. By modeling programs through three levels—static description, dynamic representation, and behavioral model—the approach enables structured decomposition that improves clarity and viability over traditional C++-based methods, particularly for inherently sequential algorithms.
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.
Motivation & Objective
- To address the difficulty of decomposing sequential programs due to inherent sequentiality and limited program analysis.
- To introduce a visual, three-level modeling approach (static, dynamic, behavioral) for program decomposition.
- To improve program modularity and parallelism support through event-driven decomposition.
- To contrast the TM-based method with formal decomposition specifications and conventional C++ program decomposition.
- To validate the feasibility and effectiveness of the TM model in practical program decomposition scenarios.
Proposed method
- The Thinging Machine (TM) model is used to represent programs as a conceptual framework with three abstraction levels: static description, dynamic representation, and behavioral model.
- Dynamic representation is derived from streams of events, enabling event-driven decomposition of sequential programs.
- The decomposition process occurs in the final phase of modeling, based on event flow and behavioral patterns.
- The method is contrasted with formal decomposition techniques and evaluated against typical C++ program decomposition.
- Visual diagrams (21 figures) are used to illustrate the TM model and its application to program decomposition.
- The approach leverages conceptual modeling to overcome limitations in static program analysis for sequential algorithms.
Experimental results
Research questions
- RQ1How can a sequential program be effectively decomposed despite inherent sequential algorithms?
- RQ2What role does event stream analysis play in enabling dynamic decomposition of programs?
- RQ3How does the TM model compare to formal decomposition specifications in terms of clarity and practicality?
- RQ4Can the TM-based approach improve modularity and support for parallelism in sequential programs?
- RQ5What are the practical benefits of using a diagrammatic, event-driven modeling technique over traditional C++ decomposition?
Key findings
- The TM model provides a viable and structured approach to decomposing sequential programs through dynamic event stream analysis.
- The three-level representation (static, dynamic, behavioral) enhances clarity and supports systematic decomposition.
- The method demonstrates improved feasibility over traditional C++ decomposition, especially for inherently sequential algorithms.
- The visual diagrammatic approach aids in understanding complex program behavior and facilitates modularization.
- The results suggest that the TM model can serve as a practical alternative to formal specification-based decomposition.
- The study confirms that event-driven decomposition via the TM model is effective and scalable for software engineering tasks.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.