Affiliation:
1. Cyberspace Institute of Advanced Technology, Guangzhou University, Guangzhou 511400, China
Abstract
Computing directed Minimum Spanning Tree (DMST) is a fundamental problem in graph theory. It is applied in a wide spectrum of fields from computer network and communication protocol design to revenue maximization in social networks and syntactic parsing in Natural Language Processing. State-of-the-art solutions are online algorithms that compute DMST for a given graph and a root. For multi-query requirements, the online algorithm is inefficient. To overcome the drawbacks, in this paper, we propose an indexed approach that reuses the computation result to facilitate single and batch queries. We store all the potential edges of DMST in a hierarchical tree in O(n) space complexity. Furthermore, we answer the DMST query of any root in O(n) time complexity. Experimental results demonstrate that our approach can achieve a speedup of 2–3 orders of magnitude in query processing compared to the state-of-the-art while consuming O(n) index size.
Funder
Guangzhou Research Foundation
Subject
General Mathematics,Engineering (miscellaneous),Computer Science (miscellaneous)
Reference21 articles.
1. Optimum branchings;Edmonds;J. Res. Natl. Bur. Stand. B,1967
2. Li, N., and Hou, J.C. (2004, January 7–11). Topology control in heterogeneous wireless networks: Problems and solutions. Proceedings of the IEEE INFOCOM 2004, Hong Kong, China.
3. Containment control of directed networks with time-varying nonlinear multi-agents using minimum number of leaders;Gao;Phys. A Stat. Mech. Its Appl.,2019
4. Jin, R., Hong, H., Wang, H., Ruan, N., and Xiang, Y. (2010, January 6–10). Computing label-constraint reachability in graph databases. Proceedings of the 2010 ACM SIGMOD International Conference on Management of Data, Indianapolis, IN, USA.
5. Jin, R., Xiang, Y., Ruan, N., and Wang, H. (2008, January 9–12). Efficiently answering reachability queries on very large directed graphs. Proceedings of the 2008 ACM SIGMOD International Conference on Management of Data, Vancouver, DC, Canada.