Abstract
In a graph G, two spanning trees \(T_1\) and \(T_2\) are rooted at the same vertex r. If for every \(v \in V(G)\) the paths from v to the root r in \(T_1\) and \(T_2\) are internally vertex-disjoint, they are independent spanning trees (ISTs). ISTs have numerous applications, such as secure message distribution and fault-tolerant broadcasting. The alternating group network \(AN_n\) (n stands for the dimension) is a subclass of Cayley graphs, and the approach of constructing ISTs in \(AN_n\) has not been proposed until now. In this paper, we propose a recursive algorithm for constructing ISTs in \(AN_n\). The algorithm is a top-down approach, and the parent of one node in an IST is not determined by any rule. The correctness of the algorithm is verified, and the time complexity is analyzed. We use PHP to implement the algorithm and test cases from \(AN_3\) to \(AN_{10}\). The testing results show that all trees are ISTs in all cases. We conclude that our algorithm is not only correct but also efficient.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.