You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to calculate SWP for my fully connected weighted graph which contains 10 nodes. A further check shows that the program was stuck within the while loop in regular_matrix_generator( ), as B[a, z] was always 0 when z equals to 4. Maybe the approximate radius in small_world_propensity( ) should be adjusted?
Thanks for the code!
I'm trying to calculate SWP for my fully connected weighted graph which contains 10 nodes. A further check shows that the program was stuck within the while loop in regular_matrix_generator( ), as B[a, z] was always 0 when z equals to 4. Maybe the approximate radius in small_world_propensity( ) should be adjusted?
Here is a preview of the 10x10 input matrix:
The text was updated successfully, but these errors were encountered: