Created
November 20, 2012 01:13
-
-
Save alyssa/4115309 to your computer and use it in GitHub Desktop.
prestige algorithm
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
do until l no change (p, p'): | |
p = p' | |
p' = vector or 0's | |
for v in v -> u: # do for all u | |
p'[u] += p[v] | |
p' = p' / ||p'|| # ||p'|| is the magnitude of p' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment