MCPcopy Index your code
hub / github.com/Persper/code-analytics / pagerank_c

Function pagerank_c

dev_analysis.py:50–58  ·  view source on GitHub ↗
(graph, alpha_low, alpha_high, alpha_step)

Source from the content-addressed store, hash-verified

48 return graph, func2file
49
50def 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
60def devrank_c(graph, alpha_low, alpha_high, alpha_step):
61 dra = []

Callers 1

mainFunction · 0.85

Calls 2

pagerankFunction · 0.90
itemsMethod · 0.80

Tested by

no test coverage detected