Fix GDC calculation in weighted networks
Bug #1358678 reported by
Dimitris Kalamaras
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SocNetV |
Fix Released
|
Critical
|
Dimitris Kalamaras |
Bug Description
For instance, check this network:
0 0 0 1 0
1 0 0 0 0
0 1 0 0 0
0 0 0 0 1
0 0 0 0 0
It reports GDC = 0.009
But if we change a link weight ie.
0 0 0 1 0
1 0 0 0 0
0 1 0 0 0
0 0 0 0 12
0 0 0 0 0
then it reports GDC = 0.938 which is clearly wrong.
Changed in socnetv: | |
milestone: | 1.3 → 1.4 |
Changed in socnetv: | |
status: | Confirmed → In Progress |
Changed in socnetv: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Will be using
( sum(maxDC-DC(v)) {for every v} ) / ( maxDC * (vertices-1) ) - verticesIsolated / vertices
as it is a variant of Freeman's formula, only with a different denominator.