Relative Betweenness
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
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Gephi Edit question
- Assignee:
- pjmcswee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Matthias for more information if necessary.