Wrong relative betweenness
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Gephi |
Fix Released
|
Medium
|
Sébastien Heymann |
Bug Description
Hi all,
I'm a bit confused about the calculation of the relative betweennness. As far as I see in the source code, the betweenness is normalized by (n-1)(n-2)/2 for directed and (n-1)(n-2) for undirected graphs:
--snip-- //GraphDistance
if (!mDirected) {
}
if (this.mRelative
}
--snap--
However, this is not correct and should be directly opposed. The betweenness for directed graphs is normalized by (n-1)(n-2) and for undirected graphs by (n-1)(n-2)/2.
Is there something I missed?
Thanks
matthias
Changed in gephi: | |
status: | New → Fix Committed |
importance: | Undecided → Medium |
milestone: | none → 0.7beta |
tags: | added: statistics |
Changed in gephi: | |
assignee: | nobody → Sébastien Heymann (sebastien.heymann) |
Changed in gephi: | |
status: | Fix Committed → Fix Released |