Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LinkRank: PageRank for edges #2598

Open
szhorvat opened this issue Apr 29, 2024 · 0 comments
Open

LinkRank: PageRank for edges #2598

szhorvat opened this issue Apr 29, 2024 · 0 comments
Labels
good first issue Candidates for first-time contributors who are already familiar with C

Comments

@szhorvat
Copy link
Member

szhorvat commented Apr 29, 2024

What is the feature or improvement you would like to see?

Implement LinkRank, which is the equivalent of PageRank: what fraction of its time does a random walker spend on each edge?

This is already implemented in IGraph/M.

Use cases for the feature

This is a straightforward to implement edge centrality measure.

Implementation

Please see the comments in the IGraph/M docs (in references). The steps are:

  1. Compute PageRank
  2. For each vertex v, set the LinkRank of each of its outgoing edges e to pagerank(v) * weight(e) / strength(v).

References

@szhorvat szhorvat added the good first issue Candidates for first-time contributors who are already familiar with C label Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Candidates for first-time contributors who are already familiar with C
Projects
None yet
Development

No branches or pull requests

1 participant