Author:
Zhang Peng,Dou Wenzhang,Liu Huaping
Abstract
AbstractFlowcharts have broad applications in the fields of software development, engineering design, and scientific experimentation. Current flowchart data structure is mainly based on the adjacency list, cross-linked list, and adjacency matrix of the graph structure. Such design originated from the fact that any two nodes could have a connection relationship. But flowcharts have clear regularities, and their nodes have a certain inflow or outflow relationship. When graph structures such as an adjacency table or an adjacency matrix are used to store a flowchart, there is a large room for optimization in terms of traversal time and storage complexities, as well as usage convenience. In this paper we propose two hierarchical data structures for flowchart design. In the proposed structures, a flowchart is composed of levels, layers, and numbered nodes. The nodes between layers are connected according to a certain set of systematic design rules. Compared with the traditional graph data structures, the proposed schemes significantly reduce the storage space, improve the traversal efficiency, and resolve the problem of nesting between sub-charts. Experimental data based on flowchart examples used in this paper show that, compared with adjacency list, the hierarchical table data structure reduces the traversal time by 50% while their storage spaces are similar; compared with adjacency matrix, the hierarchical matrix data structure reduces the traversal time by nearly 70% and saves the storage space by about 50%. The proposed structures could have broad applications in flowchart-based software development, such as low-code engineering for smart industrial manufacturing.
Publisher
Springer Science and Business Media LLC
Reference26 articles.
1. Arifuzzamant, S. & Khan, M. Fast parallel conversion of edge list to adjacency list for large-scale graphs. In Proceedings of Symposium on High Performance Computing, 17–24 (2015).
2. Zhu, X. et al. A transactional graph storage system with purely sequential adjacency list scans. Proc. VLDB Endow. 13(7), 1020–1034 (2020).
3. Lai, M. & Wen, Z. The adjacency matrix calculation based on the acquisition method diagram. In Proceedings of 4th International Conference on Computer Science and Network Technology (ICCSNT) (2015).
4. Kallaugher, J., Mcgregor, A., Price, E. & Vorotnikova, S. The complexity of counting cycles in the adjacency list streaming model. In Proceedings of 38th ACM Symposium on SIGMOD-SIGACT-SIGAI Principles of Database Systems, 119–133 (2019)
5. Lin, J. & Sehatz, M. Design patterns for efficient graph algorithms in MapReduce. In Proceedings of 8th Workshop on Mining and Learning with Graphs, DC, USA, 78–85 (2010).
Cited by
1 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献