Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

New rich club metric #1549

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Conversation

vboussange
Copy link

Hi there, I suggest to add the rich-club metric (cf Wikipedia ) to beautiful LightGraphs.jl, under the community metrics.

rich_club(g,k)

Return the non-normalised rich-club coefficient of graph g,
with degree cut-off k.

julia> using LightGraphs
julia> g = star_graph(5)
julia> rich_club(g,1)
0.4

@codecov
Copy link

codecov bot commented Mar 8, 2021

Codecov Report

Merging #1549 (0b9ba32) into master (e7669f2) will increase coverage by 0.06%.
The diff coverage is 100.00%.

❗ Current head 0b9ba32 differs from pull request most recent head 34ad732. Consider uploading reports for the commit 34ad732 to get more accurate results

@@            Coverage Diff             @@
##           master    #1549      +/-   ##
==========================================
+ Coverage   99.37%   99.44%   +0.06%     
==========================================
  Files         108      107       -1     
  Lines        5157     5560     +403     
==========================================
+ Hits         5125     5529     +404     
+ Misses         32       31       -1     

@vboussange vboussange changed the title added rich club metric Rich club metric Mar 8, 2021
@vboussange vboussange changed the title Rich club metric New rich club metric Mar 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant