代码框架:
基础算法:PageRank.py
Block算法:PageRank_Block.py
Block_Stripe算法:PageRank_Block_Stripe.py
Data
中是输入的数据,output
是代码中的临时输出,result
中保存结果
PageRank
│ PageRank.py
│ PageRank_Block.py
│ PageRank_Block_Stripe.py
│ pagerank_ref.py
│ README.md
│ utils.py
│
├─Data
│ Data.txt
│
├─output
│ matrix.txt
│ matrix.txt_0
│ matrix.txt_1
│ matrix.txt_2
│ matrix.txt_3
│ matrix.txt_4
│ matrix.txt_5
│ matrix.txt_6
│ new.txt
│ old.txt
│
├─result
│ nx_package.txt
│ sparse_pagerank_base.txt
│ sparse_pagerank_block.txt
│ sparse_pagerank_block_stripe.txt