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

Improve the performance of the Katz Centrality computation. #1173

Closed
Paulo-21 opened this issue Apr 24, 2024 · 0 comments
Closed

Improve the performance of the Katz Centrality computation. #1173

Paulo-21 opened this issue Apr 24, 2024 · 0 comments

Comments

@Paulo-21
Copy link
Contributor

Paulo-21 commented Apr 24, 2024

What is the expected enhancement?

Improve the performance of Katz Centrality.

I saw that for every iteration of all node the beta values was looked from a hashmap index by the node index (usize) exactely like the x vector .
I think the hashmap could be replace with a simple vector, this lead to better performance.
This could be done without breaking the api.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants