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 have tried your RIS implementation several times but when ever I used a very low mc value let say less than 50, I often have a list index out of range error. How does the flat list becomes empty?
The text was updated successfully, but these errors were encountered:
Just to add so findings about the above issue. After a series of testing i found that the higher the probability value the more like to "R" as in the code run out of index.
Thanks for your comment - sorry for slow response.
You're right, there are a number of parameter settings that could lead to an index error resulting from an emptyflat_list list.
mc determines the original size of the flat list, so yes, a low value of mc increases the possibility that the k seed nodes will "cover" all the RRS's.
A large p value increases the size of the RRS's so that any given node generally appears in more of them.
A large k will also create a similar situation as the size of the flat_list decreases with each iteration.
This issue can be fixed using a simple if flat_list: statement on line 54.
I have tried your RIS implementation several times but when ever I used a very low mc value let say less than 50, I often have a list index out of range error. How does the flat list becomes empty?
The text was updated successfully, but these errors were encountered: