[Top][All Lists]

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

Re: [igraph] neighbors at distance 2

From: Tamas Nepusz
Subject: Re: [igraph] neighbors at distance 2
Date: Thu, 25 Nov 2010 09:31:35 +0000

> I know that I can retrieve all nodes not farther than 2 with neighborhood(); 
> is there a simple way to get rid the neighbors at distance 1?
Create a bipartite.projection() of the graph to one of your sets in the 
bipartite graph, and calculate the direct neighbors on that.


reply via email to

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