Li Fengying, Shen Huiqiang, Dong Rongsheng. Compact Representation of Temporal Graphs Based on kd-MDD[J]. Journal of Computer Research and Development, 2022, 59(6): 1286-1296. DOI: 10.7544/issn1000-1239.20200856
Citation:
Li Fengying, Shen Huiqiang, Dong Rongsheng. Compact Representation of Temporal Graphs Based on kd-MDD[J]. Journal of Computer Research and Development, 2022, 59(6): 1286-1296. DOI: 10.7544/issn1000-1239.20200856
Li Fengying, Shen Huiqiang, Dong Rongsheng. Compact Representation of Temporal Graphs Based on kd-MDD[J]. Journal of Computer Research and Development, 2022, 59(6): 1286-1296. DOI: 10.7544/issn1000-1239.20200856
Citation:
Li Fengying, Shen Huiqiang, Dong Rongsheng. Compact Representation of Temporal Graphs Based on kd-MDD[J]. Journal of Computer Research and Development, 2022, 59(6): 1286-1296. DOI: 10.7544/issn1000-1239.20200856
(Guangxi Key Laboratory of Trusted Software (Guilin University of Electronic Technology), Guilin, Guangxi 541004)
Funds: This work was supported by the National Natural Science Foundation of China (62062029, 61762024) and Guangxi Natural Science Foundation (2017GXNSFDA198050).
Temporal graphs represent vertices and binary relations that change with time. Compact representation and efficient operation of large-scale temporal graphs are the basis of analyzing and processing temporal graph data. In this paper, a novel representation of temporal graph data based on decision diagram, namely kd-MDD, is proposed. kd-MDD improves upon the kd-tree and can deal with unclustered data with a good use of space. Firstly, the adjacency matrix of time temporal graph is divided into kd. Then, a large number of the same sub matrices, that is the homogeneous subtrees in kd--tree representation of graph, are merged by introducing MDD. The storage structure is more compact. The initialization of kd--MDD and the basic operation of temporal graph (retrieving active direct/reverse neighbors of a vertex, checking whether an edge is active, adding (deleting) an edge, etc.) based on kd--MDD are provided. Experiments implemented on real temporal graph data (Flickr-growth, YouTube-growth, Wikipedia etc.) show that the number of nodes in the kd--MDD structure is only 1.58%~4.65% of the number of nodes in the kd--tree, 11.13%~20.39% of the number of nodes in the ckd--tree (compressed kd-tree) and 23.17%~41.95% of the number of nodes in the bckd--tree (bucket ckd--tree). The kd--MDD structure is an effective and unified methodology for the representation and operation of large-scale temporal graphs.