Skip to content

Abt Sample_expansion_from_community #1

Description

@Cranooooooo

Thanks for providing the codes and data, really nice work.
I have a question about the function sample_expansion_from_community in seal_attr/graph.py #54.

When the algo tries to add a boundary node to the walk list,
the candidate can only be chosen from
candidates = tuple(boundary & remaining) which is a subset of remaining.
Besides, due to the condition of the while loop while len(remaining),
thus the output walk list seems equal to the input comm_nodes.

So, could you help me understand the pipeline of this function?
thx~

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