[Gephi-plugins] Avg. Path Length Plugin?
Elijah Richard Meeks
emeeks at stanford.edu
Sat Oct 8 23:19:12 CEST 2011
Thanks, Sébastien, I found it. Just as a preliminary step I changed the distance variables and arrays to floats and incremented with Edge.getWeight instead of 1 and I noticed, somewhat surprisingly, that it came back with usable Eccentricity and Closeness values in the attribute columns. However, the Betweenness column came back with NaN values. I'm still learning the ins and outs of both Java and Gephi, so I'm sure this is just a rudimentary step, but if anyone familiar with the code has the time to explain why the BetweenCol may be handling results differently, I'd be happy to hear it.
Sent from my iPhone
On Oct 8, 2011, at 12:35 AM, Sébastien Heymann <sebastien.heymann at gephi.org> wrote:
> Hi Elijah,
> It's in GraphDistance: http://wiki.gephi.org/index.php/Avg_Path_Length
> See you,
> 2011/10/8 Elijah Meeks <emeeks at stanford.edu>:
>> I was going to try my hand at writing a weighted betweenness measure, but when I looked through the Gephi source, I couldn't find the original module that gives you betweenness, closeness and eccentricity. I found the other standard statistics in the Statistics Plugins module but nothing that resembled what I'm familiar with as the "Avg. Path Length" option in the Desktop.
>> Elijah Meeks
>> Digital Humanities Specialist
>> Academic Computing Services
>> Stanford University
>> emeeks at stanford.edu
>> gephi-plugins mailing list
>> gephi-plugins at lists.gephi.org
More information about the gephi-plugins