Skip to content

dga-graphx LouvainCore.louvain do-while loop #82

Open
@5abhim

Description

@5abhim

Thanks a lot for making your implementation public. I am able to understand this do-while in bits and pieces but not fully. I am not able to understand when this loop breaks
{
(stop <= progressCounter && (even || (updated > 0 && count < maxIter)))
}
This loop should break only when even=false (means on odd cycles). Would you be kind to explain this do-while loop in detail?

Also you compress this graph to a new graph only when numberOfPasses (=2*count) > 2, why?
Thanks in advance.

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