Skip to content

maurane99/ExactSim

 
 

Repository files navigation

ExactSim: Exact Single-Source SimRank Computation on Large Graphs

Authors: Hanzhi Wang (hanzhi_wang@ruc.edu.cn), Zhewei Wei (zhewei@ruc.edu.cn)

Please cite our paper if you choose to use our code.

@inproceedings{10.1145/3318464.3389781,
author = {Wang, Hanzhi and Wei, Zhewei and Yuan, Ye and Du, Xiaoyong and Wen, Ji-Rong},
title = {Exact Single-Source SimRank Computation on Large Graphs},
year = {2020},
isbn = {9781450367356},
publisher = {Association for Computing Machinery},
address = {New York, NY, USA},
url = {https://doi.org/10.1145/3318464.3389781},
doi = {10.1145/3318464.3389781},
booktitle = {Proceedings of the 2020 ACM SIGMOD International Conference on Management of Data},
pages = {653–663},
numpages = {11},
keywords = {SimRank, exact computation, ground truths},
location = {Portland, OR, USA},
series = {SIGMOD ’20}
}

Tested Environment:

  • Ubuntu 16.04.10
  • C++ 11
  • GCC 5.4.0

Compile the code:

make

Parameters:

  • -d <dataset>
  • -f <filelabel>
  • -algo <algorithm>
  • [-e <epsilon> (default 0.001)]
  • [-qn <querynum> (default 50)]
  • [-c <damping factor> (default 0.6)]

Run the example:

(1) Generate query nodes:

./EXSim -d dataset/toy_graph.txt -f toy_graph -algo GEN_QUERY -qn 50

(2) ExactSim algorithm:

./EXSim -d dataset/toy_graph.txt -f toy_graph -algo ExactSim -e 1.0e-05 -qn 50

Instructions:

(1) datatset/: datasets files.
(2) query/: query nodes files.
(3) results/: SimRank results files (only output nonzero SimRank values).

About

Exact Single-Source SimRank Computation on Large Graphs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 55.1%
  • C 28.5%
  • C++ 6.9%
  • CSS 5.2%
  • Makefile 3.2%
  • Awk 0.9%
  • Shell 0.2%