igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[igraph] Function 'neighborhood' for non-integer distance


From: MikeS
Subject: [igraph] Function 'neighborhood' for non-integer distance
Date: Wed, 3 Feb 2016 08:55:58 +0600

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]