Skip to content

issue in the plotVersusR.py #4

@mengfanpeng

Description

@mengfanpeng

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]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions