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

issue in the plotVersusR.py #4

Open
mengfanpeng opened this issue Dec 16, 2016 · 0 comments
Open

issue in the plotVersusR.py #4

mengfanpeng opened this issue Dec 16, 2016 · 0 comments

Comments

@mengfanpeng
Copy link

The function getDataTvsR(G, maxR, stepR, algo, k=50, p=.01) is not perfect.
When the algo = CC_heuristic, the result that CC_heuristic returns is not the simple list of nodes,but a list of tuples, in which the first argument is a node and the second argument is its score.
So I insert a judgement .
if algo == CC_heuristic:
S = [item[0] for item in S]

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

1 participant