1. Optimal Representation for Web and Social Network Graphs Based on ${K}^{2}$ -Tree
- Author
-
Fengying Li, Qi Zhang, Tianlong Gu, and Rongsheng Dong
- Subjects
Web graph ,social network graph ,compression representation ,K²-tree ,Electrical engineering. Electronics. Nuclear engineering ,TK1-9971 - Abstract
With the rapid growth of the Internet, the scale of graphs has increased dramatically, which poses special challenges in representing both web graphs and social network graphs. In the adjacency matrix of web and social network graphs, only a very small proportion of the elements is “1” s. Furthermore, we find that using the aggregation of scattered 1 s to form a high density of adjacency matrices is beneficial to the compression of storage space. Based on these findings, we propose the DGC-K2-tree compression approach based on K2-tree, which can greatly increase the density of 1 s among the existing algorithms and adequately compress the blank area in the adjacency matrix. Then, we design a query algorithm for this mechanism to support the operation on the graph. The experimental results show that compared with the state-of-the-art algorithms, including the K2-tree based on a diagonal clustering mechanism (K2-BDC), the K2-tree, Re-Pair, and LZ78, our approach achieves better compression ratio and shorter time consumption. In terms of storage efficiency, our approach reduces the space by an average of 34.07% compared to the best performing algorithm K2-BDC. In terms of query efficiency, our approach reduces the time by an average of 80.63% compared to the best performing algorithm LZ78.
- Published
- 2019
- Full Text
- View/download PDF