A Study of Isomorphic Trees in Programming Competitions
DOI: 10.23977/acss.2023.070312 | Downloads: 17 | Views: 419
Author(s)
Zhiyong Feng 1, Yike Shi 1, Junping Shi 1
Affiliation(s)
1 The School of Computer Science and Engineering, Jishou University, Jishou, Hunan, 416000, China
Corresponding Author
Junping ShiABSTRACT
Tree isomorphism refers to the question whether two trees are exactly the same when the structure and node labels are the same. Tree isomorphism algorithm can be used to judge whether two trees are similar and classify similar trees. Tree isomorphism algorithms are usually implemented using depth-first search and hash tables, and there are also methods using graph theory and linear algebra algorithms. Tree isomorphism algorithm is widely used in many fields, such as bioinformatics, computer science and mathematics. It can help researchers better understand and analyze tree-structured data and provide a basis for subsequent research and development. At the same time in college students programming competition for the problem of tree isomorphism is more widely studied, usually use Algorithm of Aho, Hopcroft, and Ullman(AHU) to solve the isomorphism tree, but simple AHU algorithm time complexity is, cannot well solve the problem in the competition, consider to improve the AHU algorithm. This paper starts from the definition of homogenous tree, tells the basic concept of homogenous tree, then introduces the principle and implementation of naive AHU algorithm and analyzes its time complexity, and then improves the naive AHU algorithm, which greatly improves the running efficiency of AHU algorithm, and finally introduces the application of improved AHU in the form of program design competition.
KEYWORDS
ACM programming, tree isomorphism determination algorithm, tree isomorphism, algorithm optimizationCITE THIS PAPER
Zhiyong Feng, Yike Shi, Junping Shi. A Study of Isomorphic Trees in Programming Competitions. Advances in Computer, Signals and Systems (2023) Vol. 7: 101-105. DOI: http://dx.doi.org/10.23977/acss.2023.070312.
REFERENCES
[1] Yonghui Wu and Jiande Wang. Algorithm Design Practice for Collegiate Programming Contests and Education. CRC Press, 2018
[2] Ferrada Héctor. A sorting algorithm based on ordered block insertions. Journal of Computational Science, 2022, 64
[3] Rick H. de Boer and Cassio P. de Campos. A retrospective overview of International Collegiate programming contest data. Data in Brief, 2019, 25: 104382.
[4] Dovier A, Formisano A, Gupta G, et al. Parallel Logic Programming: A Sequel[J]. arXiv e-prints, 2021.
[5] Andre Droschinsky and Nils Kriege and Petra Mutzel. Faster Algorithms for the Maximum Common Subtree Isomorphism Problem. CoRR, 2016, abs/1602.07210
[6] V. Arvind et al. The isomorphism problem for k -trees is complete for logspace. Information and Computation, 2012, 217: 1-11.
[7] Mitchell S, Beyer T, Jones W. Linear Algorithms for Isomorphism of Maximal Outerplanar Graphs. Journal of the Acm, 1979, 26(4):603-610.
[8] Cole R, Crochemore M, Galil Z, et al. Optimally fast parallel algorithms for preprocessing and pattern matching in one and two dimensions[C]// IEEE Foundations of Computer Science. IEEE Computer Society, 1993.
[9] Buss S R. Alogtime Algorithms for Tree Isomorphism, Comparison, and Canonization. 1997.
[10] Wang Y K, Fan K C, Liu C W, et al. [IEEE 1995 IEEE International Conference on Evolutionary Computation - Perth, WA, Australia (29 Nov.-1 Dec. 1995)] Proceedings of 1995 IEEE International Conference on Evolutionary Computation - Adaptive optimization for solving a class of subgraph isomorp[J]. 1995, 1:44.
[11] Hopfield J. Neural computation of decisions in optimization problems. Biological Cybernetics, 1985, 52.
[12] Guo Zhengchu and Hu Ting and Shi Lei. Distributed spectral pairwise ranking algorithms. Inverse Problems, 2023, 39(2).
Downloads: | 13213 |
---|---|
Visits: | 256497 |
Sponsors, Associates, and Links
-
Power Systems Computation
-
Internet of Things (IoT) and Engineering Applications
-
Computing, Performance and Communication Systems
-
Journal of Artificial Intelligence Practice
-
Journal of Network Computing and Applications
-
Journal of Web Systems and Applications
-
Journal of Electrotechnology, Electrical Engineering and Management
-
Journal of Wireless Sensors and Sensor Networks
-
Journal of Image Processing Theory and Applications
-
Mobile Computing and Networking
-
Vehicle Power and Propulsion
-
Frontiers in Computer Vision and Pattern Recognition
-
Knowledge Discovery and Data Mining Letters
-
Big Data Analysis and Cloud Computing
-
Electrical Insulation and Dielectrics
-
Crypto and Information Security
-
Journal of Neural Information Processing
-
Collaborative and Social Computing
-
International Journal of Network and Communication Technology
-
File and Storage Technologies
-
Frontiers in Genetic and Evolutionary Computation
-
Optical Network Design and Modeling
-
Journal of Virtual Reality and Artificial Intelligence
-
Natural Language Processing and Speech Recognition
-
Journal of High-Voltage
-
Programming Languages and Operating Systems
-
Visual Communications and Image Processing
-
Journal of Systems Analysis and Integration
-
Knowledge Representation and Automated Reasoning
-
Review of Information Display Techniques
-
Data and Knowledge Engineering
-
Journal of Database Systems
-
Journal of Cluster and Grid Computing
-
Cloud and Service-Oriented Computing
-
Journal of Networking, Architecture and Storage
-
Journal of Software Engineering and Metrics
-
Visualization Techniques
-
Journal of Parallel and Distributed Processing
-
Journal of Modeling, Analysis and Simulation
-
Journal of Privacy, Trust and Security
-
Journal of Cognitive Informatics and Cognitive Computing
-
Lecture Notes on Wireless Networks and Communications
-
International Journal of Computer and Communications Security
-
Journal of Multimedia Techniques
-
Automation and Machine Learning
-
Computational Linguistics Letters
-
Journal of Computer Architecture and Design
-
Journal of Ubiquitous and Future Networks