|
From: | Bob Pap |
Subject: | Re: [igraph] closeness and average path length in terms of the harmonic distance between vertices |
Date: | Fri, 30 Nov 2012 13:28:54 +0100 |
Then you can just call shortest.path() (or the equivalent in Python), and work from its output.G.On Thu, Nov 29, 2012 at 11:22 AM, Bob Pap <address@hidden> wrote:
instead of (1/sum(distances over i)) you do (sum(1/distances) over i minus the vertix of reference) (for which 1/d would be infinite).Kind regards,BobOn 29 November 2012 16:11, Gábor Csárdi <address@hidden> wrote:Hi Bob,What exactly is the harmonic distance between vertices? Sorry, I don't have Newman's book at hand....G.On Tue, Nov 27, 2012 at 5:42 AM, Bob Pap <address@hidden> wrote:_______________________________________________Dear all,closeness and average path length functions in igraph are not defined in terms of the harmonic distance between vertices (and no option exists in version 0.6). Any suggestion on how to implement within igraph this conceptually interesting and straight-forward modification (see for instance Newman's Network book on pages 184 and 185) would be very appreciated - essentially sums are slightly different and over vertices not including the reference one.
Kind regards,Bob
igraph-help mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/igraph-help
--
Gabor Csardi <address@hidden> MTA KFKI RMKI
_______________________________________________
igraph-help mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/igraph-help
_______________________________________________
igraph-help mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/igraph-help
--
Gabor Csardi <address@hidden> MTA KFKI RMKI
_______________________________________________
igraph-help mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/igraph-help
[Prev in Thread] | Current Thread | [Next in Thread] |