计算机应用 ›› 2016, Vol. 36 ›› Issue (6): 1506-1509.DOI: 10.11772/j.issn.1001-9081.2016.06.1506

• 网络与通信 • 上一篇    下一篇

基于Dijkstra算法的社交网络抽样生成

杜景林, 侯大俊   

  1. 南京信息工程大学 电子与信息工程学院, 南京 210044
  • 收稿日期:2015-11-10 修回日期:2015-12-23 出版日期:2016-06-10 发布日期:2016-06-08
  • 通讯作者: 侯大俊
  • 作者简介:杜景林(1974-),男,河北滦平人,副教授,博士,CCF会员,主要研究方向:网络与通信、计算机软件;侯大俊(1992-),男,江苏扬州人,硕士研究生,主要研究方向:网络与通信、数据处理。
  • 基金资助:
    国家自然科学基金资助项目(41575155)。

Sampling algorithm for social networks based on Dijkstra algorithm

DU Jinglin, HOU Dajun   

  1. School of Electronic and Information Engineering, Nanjing University of Information Science and Technology, Nanjing Jiangsu 210044, China
  • Received:2015-11-10 Revised:2015-12-23 Online:2016-06-10 Published:2016-06-08
  • Supported by:
    This work is partially supported by the National Natural Science Foundation of China (41575155).

摘要: 针对社交网络中随机抽样算法抽样结果不能很好地代表原始网络的问题,设计了一种基于Dijkstra最短路径的抽样算法。首先,利用Dijkstra算法多次抽取社交网络中节点之间的最短路径;然后,对抽取到的路径中边出现的频率进行排序,选择较高频率的边组成抽样的子图。该算法解决了随机抽样算法存在的一些问题,实现了较好的生成抽取社交网络的功能。仿真实验结果表明,与随机抽样方法相比,所提抽样算法能减少抽样误差,更好地反映原始网络。

关键词: 社交网络, 网络抽样, Dijkstra算法, 聚类系数

Abstract: Using random sampling algorithm to sample the social network can not represent the original network well. In order to solve the problem, a new algorithm based on the Dijkstra shortest path algorithm was proposed. Firstly, the Dijkstra algorithm was used to sample the shortest path between nodes in social network repeatedly. Then, the frequencies of edges in the extracted path were ordered, and the edges with the higher frequencies were selected to compose the sampling subgraph. The proposed algorithm solved some problems existing in the random sampling algorithm and achieved a good function of extraction of social network. The simulation experimental results show that the proposed sampling algorithm has less error and reflect the original network better than random sampling method.

Key words: social network, network sampling, Dijkstra algorithm, clustering coefficient

中图分类号: