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

Optimize clustering by ignoring computation of vertices that degree less than 2 #1597

Merged
merged 5 commits into from
Jun 8, 2022

Conversation

acezen
Copy link
Collaborator

@acezen acezen commented May 23, 2022

What do these changes do?

Since vertices which degree < 2 its clustering coefficient is 0 , we can optimize clustering by ignoring the computation of this kind of vertices.

Related issue number

Fixes #1586

@acezen acezen changed the title Optimize clustering by ignoring computation of vertices that degree < 2 Optimize clustering by ignoring computation of vertices that degree less than 2 May 23, 2022
@acezen
Copy link
Collaborator Author

acezen commented May 23, 2022

cc/ @doudoubobo please take a review of the pull request

@acezen acezen force-pushed the acezen/clustering-optimize branch from 95a4bb1 to bdb5e2f Compare May 23, 2022 02:24
@codecov-commenter
Copy link

codecov-commenter commented May 23, 2022

Codecov Report

Merging #1597 (e98b70b) into main (39c572b) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1597   +/-   ##
=======================================
  Coverage   73.18%   73.18%           
=======================================
  Files          89       89           
  Lines        9736     9736           
=======================================
  Hits         7125     7125           
  Misses       2611     2611           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 39c572b...e98b70b. Read the comment docs.

@acezen acezen requested review from yecol and sighingnow June 7, 2022 03:06
@acezen acezen closed this Jun 7, 2022
@acezen acezen force-pushed the acezen/clustering-optimize branch from e98b70b to 275547e Compare June 7, 2022 11:45
@acezen acezen reopened this Jun 7, 2022
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

Successfully merging this pull request may close these issues.

[Proposal]Performance optimization in clustering coefficient
4 participants