igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] getting k-connected nodes from a vertex


From: Tamas Nepusz
Subject: Re: [igraph] getting k-connected nodes from a vertex
Date: Thu, 06 Dec 2012 12:15:06 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0

>> because when I exam the file content, I find something like:
> 
> C D
> C E
> C F
> B D
> B C
> A C
> A B
That's how graph.neighborhood is supposed to work; it gives you the
first-order neighborhood of the central vertex, so you will find not only
edges that are connected to the central vertex but also edges that go
between the _neighbors_ of the central vertex.

-- 
T.



reply via email to

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