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

Stress Centrality #408

Closed
Sanjeevani-IITBH opened this issue Nov 20, 2024 · 2 comments
Closed

Stress Centrality #408

Sanjeevani-IITBH opened this issue Nov 20, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@Sanjeevani-IITBH
Copy link

I want to know whether the code for stress centrality provided works only for simple and small graph or it is suitable for big and complex graphs as well. Because when I am trying to implement code on 11 nodes, 28 nodes in short as i am increasing number of nodes (more than 10) in graph this code is not giving correct stress centrality.

@simonschoelly
Copy link
Member

Can you give give an example of such a graph here so that we ca try to reproduce the issue?

@simonschoelly simonschoelly added the bug Something isn't working label Nov 20, 2024
@Sanjeevani-IITBH
Copy link
Author

Below is the converted Python code for the provided Julia code with some modification. I am calculating stress centrality for undirected and unweighted graph so I divided stress centrality of each node by 2.
Kindly tell me how to solve my issue.
Please tell me if any mistakes are in this code.

Stress_Centrality.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants