[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [igraph] Function 'neighborhood' for non-integer distance
From: |
Gábor Csárdi |
Subject: |
Re: [igraph] Function 'neighborhood' for non-integer distance |
Date: |
Wed, 3 Feb 2016 10:19:09 +0000 |
Hi!
The neighborhood functions do not take edge weights into account,
unfortunately.
Their terminology is also unfortunate, they should say 'hops' instead
of 'distance'.
You may open an issue in the GitHub issue tracker and make a case for
this feature.
Gabor
On Wed, Feb 3, 2016 at 2:55 AM, MikeS <address@hidden> wrote:
> Hello!
> I have a weighted undirected network G = (V, E), is V = {v1, v2, ... ,
> vn} and the edge set E = {e1, e2, ... , em}.
>
> I need to calculate a local dimension of nodes.
>
> The local dimension of nodes means the local dimensional limit of the
> space around a node. F.N. Silva, L.d.F. Costa, Local dimension of
> complex networks, ArXiv Preprint http://arxiv.org/pdf/1209.2476v3.pdf.
>
> In igraph term the "local dimension of nodes" is the "neighborhood of
> graph vertices".
>
> I can use the built-in function neighborhood.size(G, r, V(G)) for
> topological distance r = 0, 1, 2, 3. The r value should be integer.
>
> Could someone please say does exist in igraph built-in function for
> non-integer distance, for example, r=1.5?
>
> I have found only external solution:
> http://stackoverflow.com/questions/32470713/how-to-calculate-the-neighborhood-of-a-graph-with-order-1-5
>
> Thanks.
> --
>
> Mike
>
> _______________________________________________
> igraph-help mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/igraph-help