Skip to content

Pruning off-by-one error #11

Description

@holmesco

I think that there is an error in the vertex pruning after the heuristic clique is computed:

if(core_number[i] + 1 >= heuristic_clique.size()) {

There should not be a + 1 in the line above. This is because the only vertexes we should keep are the ones with K-Cores that correspond to a larger clique than what we have found already (i.e., $k(v) \geq |C|$). The algorithm and description in the paper also suggest this:

Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions