[Top][All Lists]

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

Re: [igraph] neighborhood

From: Gábor Csárdi
Subject: Re: [igraph] neighborhood
Date: Wed, 1 Jul 2015 19:31:36 +0200

Can you send a reproducible example? Thanks. Gabor

On Wed, Jul 1, 2015 at 5:50 PM, Matt <address@hidden> wrote:
Dear all,

I was wondering if something change in the neighborhood function.
In an old code that ran smoothly with this function I am experiencing
some problems.

For example, I remember that in order to count the number of vertices
in a neighborhood EXCLUDING the vertex I was analyzing, I had to
subtract 1 because neighborhood function returned the number of
vertices INCLUDING the vertex whose neighbors I was interested in.

Now I find that if I subtract 1 I have vertices with out-degree 2 I
get a neighborhood of 1 (computed considering just the out-edges).

Is the neighborhood function returning the neighbors without the
"starting" vertex now?

Thank you very much in advance for your help.



igraph-help mailing list

reply via email to

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