Function
pagerank_c
(graph, alpha_low, alpha_high, alpha_step)
Source from the content-addressed store, hash-verified
| 48 | return graph, func2file |
| 49 | |
| 50 | def pagerank_c(graph, alpha_low, alpha_high, alpha_step): |
| 51 | pra = [] |
| 52 | a = alpha_low |
| 53 | while (a <= alpha_high): |
| 54 | print('Running PageRank-C for alpha=' + str(a)) |
| 55 | pr = pagerank(graph, alpha=a) |
| 56 | pra.append(pr.items()) |
| 57 | a += alpha_step |
| 58 | return pra |
| 59 | |
| 60 | def devrank_c(graph, alpha_low, alpha_high, alpha_step): |
| 61 | dra = [] |
Tested by
no test coverage detected